-
Notifications
You must be signed in to change notification settings - Fork 58
Open
Labels
enhancementNew feature or requestNew feature or requestproposalA suggestion for a change, feature, enhancement, etcA suggestion for a change, feature, enhancement, etc
Milestone
Description
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>
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestproposalA suggestion for a change, feature, enhancement, etcA suggestion for a change, feature, enhancement, etc