avoid creating of CDATA[] sections and use escaped content instead
Using CDATA sections for the content is not recommended according to the official documentation: https://docs.oasis-open.org/xliff/v1.2/xliff-profile-html/xliff-profile-html-1.2-cd02.html#General_CDATA
The current version 2.1 also recommends to avoid it: http://docs.oasis-open.org/xliff/xliff-core/v2.1/os/xliff-core-v2.1-os.html#d0e8112
Special characters should be encoded as HTML entities like described here in the best practice examples: https://www.w3.org/TR/xml-i18n-bp/#AuthCDATA
So, by default, I would suggest not to use the CDATA section and special characters should be escaped. However, the user should have the option to use the CDATA section if needed. Maybe with a checkbox to activate/add the CDATA section to individual fields?