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:
Save the document, and then edit in wysiwyg mode. Without doing any change, save it again. The result is something like: