strip_newlines

从字符串中删除所有换行符(换行)。

输入

{% capture string_with_newlines %}
Hello
there
{% endcapture %}

{{ string_with_newlines | strip_newlines }}

输出



Hellothere