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

Improve emitted DOM for indented lists

XMLWordPrintable

    • We collect Confluence feedback from various sources, and we evaluate what we've collected when planning our product roadmap. To understand how this piece of feedback will be reviewed, see our Implementation of New Features Policy.

      NOTE: This suggestion is for Confluence Server. Using Confluence Cloud? 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.

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

                Created:
                Updated:
                Resolved: