How to escape the XML CData section ending sequence `]]>`? Posted on Mar 26, 2018 by Q A In QA, Tutorial How to escape the XML CData section ending sequence ]]>? The ]]> sequence itself may be part of the content in a CData section. One solution is to split the ]]> token into 2 CData sections. <![CDATA[to split the ]]]]><![CDATA[> token ]]> Read more: Which are sequence points in C? How to escape special characters in a Bash string in Linux? How to delete or get the number in the tail from a string in shell script? How to improve video rendering quality in MPlayer How to check whether a file of a given path is a block device in Python? How to test whether a given path is a directory or a file in C++? How to open a port in iptables? How to generate a pair of SSH private key and public key pairs?