plush
plush copied to clipboard
Syntax to trim trailing whitespace?
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>
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.