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

Document with an image link is not parsed back correctly

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.7
    • Fix Version/s: 1.7.1, 1.8 M1
    • Component/s: WYSIWYG Editor
    • Labels:
      None
    • Similar issues:

      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

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

              Dates

              • Created:
                Updated:
                Resolved:
                Date of First Response: