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

When Nesting a section macro inside a section macro in Confluence in Firefox 68.X. After the first line break display text is not rendering.

    XMLWordPrintable

Details

    Description

      Issue Summary

      When Nesting a section macro inside a section macro in Confluence in Firefox 68.X. After the first line break display text is not rendering.

      Environment

      Firefox 68.x.x

      Steps to Reproduce

      1. Insert section macro
      2. Insert section macro within section macro
      3. Put text in section macro and nested macro and then make a line break and put more text.
      4. Publish

      Expected Results

      Text should render

      Actual Results

      Text after the line break does not render when published

      Notes

      Storage Format

      <p><br /></p><ac:structured-macro ac:name="section" ac:schema-version="1" ac:macro-id="0864eb38-e1e3-4f3b-9cbc-d31414ae0be8"><ac:parameter ac:name="border">true</ac:parameter><ac:rich-text-body>
      <p>first paragraph</p>
      <p>Second paragraph</p><ac:structured-macro ac:name="section" ac:schema-version="1" ac:macro-id="fbfc5702-f4be-4885-8308-f14f170d8f01"><ac:parameter ac:name="border">true</ac:parameter><ac:rich-text-body>
      <p>first paragraph</p>
      <p>second paragraph</p><ac:structured-macro ac:name="section" ac:schema-version="1" ac:macro-id="757588da-96d4-4ca5-b127-7204482c1619"><ac:rich-text-body>
      <p>first paragraph</p>
      <p>second paragraph</p></ac:rich-text-body></ac:structured-macro>
      <p class="auto-cursor-target"><br /></p>
      <p class="auto-cursor-target"><br /></p></ac:rich-text-body></ac:structured-macro>
      <p class="auto-cursor-target"><br /></p></ac:rich-text-body></ac:structured-macro>
      <p><br /></p>
      <p><br /></p>
      <p><br /></p>
      <p><br /></p>

      This snippet of CCS code seems to be causing the issue. When toggling the display: table-caption using browser tools:

      .sectionMacro > :not(.sectionMacroRow), .sectionMacroWithBorder > :not(.sectionMacroRow) {
          display: table-caption;
      }
      

      Workaround

      Workaround
      Any other supported browsers,(IE 11, Edge, or Chrome)

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              dhowell@atlassian.com Derek Howell
              Votes:
              3 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated: