Details
-
Bug
-
Resolution: Fixed
-
Major
-
1.7
-
None
Description
Currently, if a document containing an image link is opened in the wysiwyg editor and resaved, it is parsed incorrectly.
How to reproduce:
Edit a document in wiki mode and add, for example:
[[image:Main.LuceneSearch@next.png>>http://www.xwiki.org]]
Save the document, and then edit in wysiwyg mode. Without doing any change, save it again. The result is something like:
<p><!startwikilink:http://www.xwiki.org-->><span class="wikiexternallink"><a href="http://www.xwiki.org"><!startimage:Main.LuceneSearch@next.png><img src="/xwiki/bin/download/Main/LuceneSearch/next.png" class="wikimodel-freestanding" alt="next.png"><!stopimage></a></span><!stopwikilink></p>