Uploaded image for project: 'Confluence Cloud'
  1. Confluence Cloud
  2. CONFCLOUD-30340

Improve emitted DOM for indented lists

    XMLWordPrintable

Details

    • Our product teams collect and evaluate feedback from a number of different sources. To learn more about how we use customer feedback in the planning process, check out our new feature policy.

    Description

      NOTE: This suggestion is for Confluence Cloud. Using Confluence Server? See the corresponding suggestion.

      The editor currently emits overly complex DOM fragments to represent an indent list. This can easily provoke OOMEs when performing a PDF export of the page containing such a fragment.

      E.g. if you insert an (ordered) list in the editor, add and entry and indented it via tab the output will be a nested (ordered) list.

      It is enough to place 22 tabs on the list item to cause an OOME if you export the resulting page as PDF.

      My test setup was a vanilla 5.2.2 instance against HSQLDB with -Xmx1G -XX:MaxPermSize=256M.

      Server version: Apache Tomcat/6.0.35
      Server built:   Dec 8 2012 11:07:24
      Server number:  6.0.35.0
      OS Name:        Linux
      OS Version:     3.8.0-19-generic
      Architecture:   amd64
      JVM Version:    1.7.0_25-b15
      JVM Vendor:     Oracle Corporation
      

      Now I understand that this is really a problem of the PDF export (for which I'm going to raise a separate issue), but I believe the editor should make it an effort to use CSS instructions instead of DOM elements to reach the desired effect.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              fakraemer fabs
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: