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 check whether a file of a given path is a block device in Python? How to find the disk where root / is on in Bash on Linux? How to test whether a given path is a directory or a file in C++? How to generate a password in Shell on Linux? How to install GNOME 3 in Ubuntu MATE 18.04?