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 compare date in SQL? Checking Whether a String Starts with Another String in C++ How to use encfs on Windows 10? How to add Chinese input method to Unbuntu 18.04? How to write file content with sudo in Vim?