Skip to content

Instantly share code, notes, and snippets.

@owenconti
Created May 19, 2020 01:46
Show Gist options
  • Save owenconti/60d78d305d50f00f9ba0df858b22bfcf to your computer and use it in GitHub Desktop.
Save owenconti/60d78d305d50f00f9ba0df858b22bfcf to your computer and use it in GitHub Desktop.
Escaping Antlers output in Statamic via the `noparse` tag
-
type: code_block
content:
-
type: text
text: '{{ redirect to="{{ redirect_url }}" }}'
{{ redirect to="{{ redirect_url }}" }}
<div class="content">
{{ content }}
</div>
<div class="content">
{{ content | noparse }}
</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment