strip_newlines
Removes line breaks.
Syntax
Section titled “Syntax”string | strip_newlinesReturns
Section titled “Returns”string
Example
Section titled “Example”{% capture text %}OneTwo{% endcapture %}{{ text | strip_newlines }}OneTwoCompatibility
Section titled “Compatibility”Shopify: Same as Shopify.
Since theme platform 1.0.
Was this page helpful?

