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鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
My template :
{{#馃殌}} launch! {{/馃殌}}
My dictionary :
{ "馃殌" => true }
I would expect the following result :
launch!
Instead I get the error :
Mustache::Parser::SyntaxError: Illegal content in tag Line 1 {{#馃殌}} ^
This example succeeds on https://mustache.github.io/#demo
I get the same error with the following keys (instead of 馃殌) : "Foo Bar", "J茅sus", ...
The text was updated successfully, but these errors were encountered:
I think that's because of the regex used for the ALLOWED_CONTENT constant:
mustache/lib/mustache/parser.rb
Line 81 in 0207b73
Per the regex docs
/\w/ - A word character ([a-zA-Z0-9_])
Which would prevent the emoji, space or accented character you listed.
Sorry, something went wrong.
No branches or pull requests
My template :
My dictionary :
I would expect the following result :
Instead I get the error :
This example succeeds on https://mustache.github.io/#demo
I get the same error with the following keys (instead of 馃殌) : "Foo Bar", "J茅sus", ...
The text was updated successfully, but these errors were encountered: