Using CDATA inside another CDATA

You can escape ]]> substring in CDATA section by replacing it with:

]]]]><![CDATA[>

… line. With this you’ll make ]] a part of one CDATA section, and > – of another, that starts right when the preceding one ends.

Leave a Comment