We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Templates with NULL Unicode character(s) fail to evaluate
Example code:
import Handlebars from "https://esm.sh/handlebars"; const handlebars = Handlebars.create(); const template = handlebars.compile('Hello \x00 {{name}}') try { const test = template({name: "foo"}) console.log(test) } catch (e) { console.log(e.message) }
Fails with:
"Lexical error on line 1. Unrecognized text. Hello {{name}} ------^"
Codepen: https://codepen.io/Milan-Konir/pen/KwPXgbo?editors=1111
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Templates with NULL Unicode character(s) fail to evaluate
Example code:
Fails with:
Codepen: https://codepen.io/Milan-Konir/pen/KwPXgbo?editors=1111
The text was updated successfully, but these errors were encountered: