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

The Display Macro generates invalid HTML when used in-line

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Major
    • None
    • 8.2.1
    • Display
    • None
    • XE 8.2.1, CK 1.8.3, Chrome 54, Win10
      XE 8.4, CK 1.9, Chrome 54, Win10
    • Unknown

    Description

      1. Create a Page
      2. In wiki editor insert a text followed on a new line by a display reference macro
        Example:
        !
        {{display reference="Sandbox.TestPage3"/}}
        
      3. Save (everything should be ok, content rendered correctly)
      4. Edit with CK Editor
      5. Resave

      Result: Rendered content is duplicated inside the page. (see screenshots)

      Attachments

        1. FirstSave.PNG
          32 kB
          Iustin Insuratelu
        2. SecondSaveDuplicateContent.PNG
          58 kB
          Iustin Insuratelu

        Issue Links

          Activity

            People

              mflorea Marius Dumitru Florea
              iinsuratelu Iustin Insuratelu
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: