switch to template.HTML from string for stylesheet render function