Filters

Escape Filter

Escapes HTML in plain text so user input cannot break your layout.

Copy or embed this snippet

<h1>{{ section.settings.title | escape }}</h1>
<meta name="description" content="{{ page_description | escape }}">

Embed this snippet on your blog or docs — attribution link appreciated: HTML to Liquid Converter · Convert to Shopify section →

Practice in the converter workspace

Draft OS 2.0 section output after you choose the right design pattern.