strip_html - Liquid Filter Reference - 0.11.2
Filter Name | strip_html |
Group | Text |
Version | 0.11.2 |
Description
Removes any newline characters (line breaks) from a string.
Examples
{% capture string_with_newlines %}
Hello
World!
{% endcapture %}
{{ string_with_newlines | strip_newlines }}
HelloWorld!
Back to Liquid Reference for 0.11.2
Back to Documentation