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

Table of Contents Macro Renders Incorrectly When Embedded Within a User Macro

      Summary of The Bug

      When the Table of Contents macro is embedded within another User Macro, headings are only visible, the content beneath the headings disappear, and the page footer is rendered incorrectly and pushed to the right.

      Steps to Reproduce

      1. Create a User Macro with the following settings:
        • Macro Body Processing: Rendered
        • Template:
          ## @noparams
          
          $body
      2. Create a New Page and Edit
      3. Insert the User Macro and embed the Table of Contents macro with default settings
      4. Enter in some headings and text beneath the headings
      5. Save the Page

      Expected Results

      Headings are created into hyperlinks and below the headings and content should be rendered as typed.

      Actual Results

      Heading hyperlinks are only created and non-hyperlinked headings aren't visible along with the content. Page footer is also rendered incorrectly and skewed to the right of the page.

            [CONFSERVER-38074] Table of Contents Macro Renders Incorrectly When Embedded Within a User Macro

            No work has yet been logged on this issue.

              Unassigned Unassigned
              kjohnson@atlassian.com Kyler Johnson (Inactive)
              Affected customers:
              2 This affects my team
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: