alek-sys/sublimetext_indentxml — pull request #30 by sligodave (2013-04-26 16:59:35+00:00)
Title: Convert characters '&', '<' and '>' to entities and back when removing and reinserting the CDATA elements.

If the string between the CDATA elements contain entities, the indent will fail as they don't currently get converted to xml entities.
This commit will create entities where needed and also remove them again when the CDATA elements are reinserted after the indent.