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

Do not wish to have HTML escape sequences in the output #38

Open
arktisvogel opened this issue Aug 29, 2018 · 2 comments
Open

Do not wish to have HTML escape sequences in the output #38

arktisvogel opened this issue Aug 29, 2018 · 2 comments

Comments

@arktisvogel
Copy link

I do not wish to have HTML escape sequences in my output. To achieve my goal, I commented out the following lines in the file "renderer.lua":

if escape then
  return string_gsub(str, '[&<>"\'/]', function(s) return html_escape_characters[s] end)
end

If you have a more elegant way to achieve my goal, let me know.

@karlmcguire
Copy link

By wrapping the variable name in triple brackets: {{{variable}}}, the output is not HTML escaped.

@arktisvogel
Copy link
Author

arktisvogel commented May 2, 2019 via email

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

2 participants