Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-3009

Document with an image link is not parsed back correctly

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 1.7.1, 1.8 M1
    • 1.7
    • WYSIWYG Editor
    • 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>
      

      Attachments

        Activity

          People

            lucaa Anca Luca
            lucaa Anca Luca
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: