fixed signature of the Theme render, toHtml()