validated html in templates and partials