-
Notifications
You must be signed in to change notification settings - Fork 190
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
Variable name with spaces #63
Comments
Hi l4u, From https://github.com/mustache/spec/blob/master/specs/interpolation.yml :
So, no, I won't update GRMustache for that. I would instead open an issue in the pystache repo, so that no more people get bitten by this inconsistency. Sorry. I hope you don't have too many keys to update. |
Thanks, I've posted it at defunkt/pystache#156 |
@groue may I know which file/lines I should look into? |
@l4u I did not understand your last question. How may I help you? |
I am trying to allow tags with white spaces. |
I guess it would work, yes. So go ahead if you prefer this option. |
Of course the best option is to stop using white spaces in your keys, and this is what I advise you to do. |
Yeah, but unfortunately the mustache templates are out of my control. They are from 3rd parties. 😢 |
Well, in that case... You can send them the links to the pystache issue, and to the spec (https://github.com/mustache/spec/blob/master/specs/interpolation.yml). So that they stop producing invalid templates. Eventually. Maybe 😄 |
Not sure if this is in the spec, but the python implementation pystache can render
{{ variable name}}
.Is there any way we can render this in GRMustache without throwing an error for compatibility? Because I got data in this format.
Thanks!
The text was updated successfully, but these errors were encountered: