Skip to content

HTML in a template variable #19186

Discussion options

You must be logged in to vote

Okay, after doing some trickery I found a solution.
Instead of using return $vweb.html() like you usually do, I instead did return app.html($tmpl("templates/page/view.html")).

Maybe there should be a feature implemented so there is a way to do this with $vweb.html?

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Answer selected by poggingfish
Comment options

You must be logged in to vote
1 reply
@poggingfish
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants