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

The Display Macro generates invalid HTML when used in-line

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: 8.2.1
    • Fix Version/s: None
    • Component/s: Display
    • Labels:
      None
    • Environment:
      XE 8.2.1, CK 1.8.3, Chrome 54, Win10
      XE 8.4, CK 1.9, Chrome 54, Win10
    • Difficulty:
      Unknown
    • Similar issues:

      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

          Issue Links

            Activity

              People

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

                Dates

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