Created
May 19, 2020 01:46
-
-
Save owenconti/60d78d305d50f00f9ba0df858b22bfcf to your computer and use it in GitHub Desktop.
Escaping Antlers output in Statamic via the `noparse` tag
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- | |
type: code_block | |
content: | |
- | |
type: text | |
text: '{{ redirect to="{{ redirect_url }}" }}' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{{ redirect to="{{ redirect_url }}" }} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="content"> | |
{{ content }} | |
</div> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="content"> | |
{{ content | noparse }} | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment