cdata Modifier

Wraps a string in CDATA tags, useful for formatting characters properly in XML.

title: My Very Own Podcast
yaml
{{ title | cdata }}
antlers
<![CDATA[My Very Own Podcast]]>
html
Docs feedback

Submit improvements, related content, or suggestions through Github.

Betterify this page →