-
Notifications
You must be signed in to change notification settings - Fork 155
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
Mustache tags on new lines are replaced with empty space #77
Comments
Hello @AdamEisfeld, GRMustache.swift is now maintained by @fumito-ito. Let's wait for his answer. Meanwhile, a pull request that adds the described behavior, while respecting the Mustache Spec will be gladly reviewed. |
I'm seeing this, or something similar, today... in 2023. Any updates? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
First off, great library!
I might be missing some obvious syntax here, but given the following example:
The output we get (assuming someOptionalValue is "Hello, World") is:
Is there a way to modify the tags, such that the newlines before / after "The value is Hello, World" are removed? Eg:
Currently it seems I can only achieve this by putting everything on one line:
I have seem some references to Handlebars using a tilde to accomplish this, eg:
But in attempting to do this with this repository's Mustache implementation, I get an error "Unmatched closing tag".
Thanks,
The text was updated successfully, but these errors were encountered: