Created
May 19, 2020 01:46
-
-
Save owenconti/71a6f39ebc4bbc8070eddf32f993d39c 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