Closed fkv1 closed 7 months ago
According to the documentation:
To apply more than one filter, separate them by a comma: ${" some value " | h,trim} The HTML escaping function is applied first, the “trim” function second.
But when I do:
<% def keep_spaces(p_s): return p_s.replace(' ',' ') %> ${x |h, keep_spaces}
it transforms " ABC" into
&nbsp;&nbsp;ABC
instead of just
ABC
According to the documentation:
But when I do:
it transforms " ABC" into
instead of just