Inserting Attachments Macro Inside of <li> Elements Breaks Page Rendering

XMLWordPrintable

    • 1
    • Severity 3 - Minor

      Summary

      Using the Source Editor to insert an Attachments Macro inside of a <li> list element breaks the page rendering. This will interfere with page imports and source editor edits, but should not be reproducible using only the WYSIWYG editor.

      Environment

      • Browser: Chrome v56
      • OS: Linux

      Steps to Reproduce

      1. Use the WYSIWYG editor to add a few <li> items as well as an attachments macro at the end of one <li> item
      2. Open the page in edit mode and navigate to the source editor
      3. Copy the existing attachments macro and place a copy within an existing <li> element

      Expected Results

      The attachments list is added to the end of the list element it's inserted within, prior to the next list element

      Actual Results

      The attachments list is added towards the end of the page, the comment section is detached from the page and widened outside of page bounds. Performing this multiple times makes the layout of the page unreadable.

      Workaround

      Examine the page in Source Editor and move all existing attachments ac:structured-macro elements after their relevant </li> closing tag. Doing so doesn't alter their position on the page significantly, and prevents the page rendering issue.

            Assignee:
            Unassigned
            Reporter:
            Kenneth Giorno (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: