XML refactoring removes CDATA markup
Posted: Thu Mar 08, 2018 9:01 pm
I tried using the XML Refactoring tool to add an attribute to an element that has CDATA content, e.g.,
When I added the attribute 'version="MathJax"', the CDATA markup was stripped out, leaving me with
How can I add the attribute without making any other changes?
Code: Select all
<tex-math notation="LaTeX">
<![CDATA[ \( E = mc^2 \) ]]>
</tex-math>
Code: Select all
<tex-math notation="LaTeX" version="MathJax">\( E = mc^2 \)</tex-math>