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 get the epoch timestamp in Python? How to test a file or directory exists in C++? Find broken links on my site How to get the one character’s next character in ASCII table in Bash? How to make iptables/ip6tables configurations permanent across reboot on CentOS 7 Linux?