@blueprint.app_template_filter('<STR_LIT>')<EOL>def render_string(source):
return current_app.extensions['<STR_LIT>'].render_template(source)<EOL>
Render a string in sandboxed environment.

    :param source: A string containing the page source.
    :returns: The rendered template.