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

Switching to / from Source mode while in WYSIWYG editor could include unexpected content

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 14.6
    • 14.6-rc-1
    • CKEditor
    • None
    • Trivial
    • N/A
    • N/A

    Description

      I managed to reproduce this using the blog macros as in XWIKI-20011. By switching to / from Source mode with minor changes you end up with content such as:

      (% class="xcontent" %)
      (((
      (% class="document-info" %)
      (((
      (% id="document-title" %)
      (((
      = TestBlogLayoutImageMacro =
      )))
      )))
      
      (% id="xwikicontent" %)
      (((
       
      )))
      )))
      

      The same happens if you insert or edit a macro, which is equivalent to going to Source and back.

      Attachments

        Issue Links

          Activity

            People

              mflorea Marius Dumitru Florea
              mflorea Marius Dumitru Florea
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: