xwiki/xwiki-platform — pull request #245 by ClemensRobbenhaar (2013-12-12 16:03:33+00:00)
Title: XRENDERING-324: ConfluenceXHTMLParser does not repair CDATA ...

Actually this patch always "repairs" the property, even if it is not inside a CDATA section.
This is because one cannot figure out if the property text is in a CDATA section, and it seems all string values properties are always in CDATA. One could filter for only string valued properties, but as not all string values properies have a `type="string"` attribute, one would have to maintained a list of string values property names ... as the "repair" does not harm to non-string values, I did not do that here.

The attached test case is "skip" because it demonstrates another issue: the content of attachments with several versions are not stored in the directory of the corresponsing attachment-id, but of the one for the most recent atttachment.