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
It would be nice if there was a syntax that trimmed the whitespace from template when using an evaluated value (and did so automatically for <% %>). This is implemented in ERB (ruby) as the "<%- %>" syntax (https://stackoverflow.com/questions/4632879/erb-template-removing-the-trailing-line).
<% %>
For example, it would be great if the following template returned <pre>Hello</pre>
<pre>Hello</pre>
<pre> <%- "Hello" %> </pre>
The text was updated successfully, but these errors were encountered:
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment. Otherwise, this will be closed in 7 days.
Sorry, something went wrong.
No branches or pull requests
It would be nice if there was a syntax that trimmed the whitespace from template when using an evaluated value (and did so automatically for
<% %>
). This is implemented in ERB (ruby) as the "<%- %>" syntax (https://stackoverflow.com/questions/4632879/erb-template-removing-the-trailing-line).For example, it would be great if the following template returned
<pre>Hello</pre>
The text was updated successfully, but these errors were encountered: