Uploaded image for project: 'Confluence Data Center'
  1. Confluence Data Center
  2. CONFSERVER-40899

Improve validation of XHTML storage format to prevent content from being placed outside of layout sections

    XMLWordPrintable

Details

    Description

      A customer has observed an issue where parts of pages are unable to be edited in the Confluence Editor. Upon closer inspection, it was found that the un-editable content are outside of the layout sections (enclosed by dotted lines) on the pages.

      It is unknown how the content got this way, but a bad copy/paste with incomplete XHTML is suspected.

      As this can render pages un-editable, it would be ideal if we can improve the validation of our storage format to prevent situations like this from happening, as the content should never be outside of a layout section if there's a layout selected.

      Workarounds:

      • Revert to a previous version before the page became broken
      • XHTML-savvy users can use the Confluence Source Editor to modify the XHTML and enclose the problematic sections into a layout macro.

      Attachments

        Activity

          People

            Unassigned Unassigned
            rchang Robert Chang
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: