Wraps a string in CDATA tags, useful for formatting characters properly in XML.
title: My Very Own Podcast
{{ title | cdata }}
{!! Statamic::modify($title)->cdata() !!}
<![CDATA[My Very Own Podcast]]>
cdata
ModifierWraps a string in CDATA tags, useful for formatting characters properly in XML.
title: My Very Own Podcast
{{ title | cdata }}
{!! Statamic::modify($title)->cdata() !!}
<![CDATA[My Very Own Podcast]]>
Submit improvements, related content, or suggestions through Github.
Betterify this page →