alek-sys / sublimetext_indentxml

Plugin for Sublime Text editor for reindenting XML and JSON files
MIT License
534 stars 135 forks source link

Fails to format xml if a CDATA tag contains an ampersand '&" #18

Closed misprintt closed 7 years ago

misprintt commented 11 years ago

The following example doesn't format because of the an '&' inside of a CDATA tag

<Data>
<Element><![CDATA[&]]>
</Element>
</Data>

Details

vatertime commented 11 years ago

Took me a while to identify but I had the same problem today. Bump.

alek-sys commented 7 years ago

Fixed by a4b25ef0931f113b85b73fe5003a53839053736c