Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disable HTML escaping? #79

Closed
gaetgu opened this issue Nov 7, 2020 · 2 comments
Closed

Disable HTML escaping? #79

gaetgu opened this issue Nov 7, 2020 · 2 comments

Comments

@gaetgu
Copy link

gaetgu commented Nov 7, 2020

I have a project in which I am creating an html file with templates. I have done this with handlebars in the past, but I wanted to use chevron this time since it seems to be really easy to use. However, whenever I use any html tags (like <h1> etc.), it escapes them (like to &lt;h1&gt;)

I know this is not the kind of thing that I should file an issue for, but I couldn't find any sort of discord, slack etc., so this is the only place I know where to ask. If there is such a forum, can someone please direct me to it? Thanks!

@mistercrunch
Copy link

Similarly I'm considering this library to template/parameterize SQL code provided by users in a safer-than-jinja2 space, and I do not want to html-escape the SQL

@dcmoore-gd
Copy link

Use {{{ ... }}} instead of {{ ... }}.

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

No branches or pull requests

3 participants