strip_html - Liquid Filter Reference - 1.1.0
Filter Name | strip_html |
Group | Text |
Version | 1.1.0 |
Description
Removes all whitespace (tabs, spaces, and newlines) from both the left and right sides of a string. It does not affect spaces between words.
Examples
{{ "The quick brown <em>fox</em> jumps over the lazy <strong>dog</strong>" | strip_html }}
The quick brown fox jumps over the lazy dog
Back to Liquid Reference for 1.1.0
Back to Documentation