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
The handlebars parser do not remove whitespace that tags occupy. Consider the following example:
{{#each Categories}} {{#if HasName }} {{Name}} {{/if}} {{Description}} {{/each}}
Will render the following for a category without a name:
The description
This is no problem when generating HTML, but it's a problem for other formats that are sensitive to new lines such as markdown.
The text was updated successfully, but these errors were encountered:
Yeah this one needs to be looked at.
You can use the whitespace control markers to trim in the mean time. See the whitespace example at tryveil.com
Sorry, something went wrong.
Ah, I will try that. Thank you!
No branches or pull requests
The handlebars parser do not remove whitespace that tags occupy.
Consider the following example:
Will render the following for a category without a name:
This is no problem when generating HTML, but it's a problem for other formats that are sensitive to new lines such as markdown.
The text was updated successfully, but these errors were encountered: