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

Linebreak ignored in Firefox but working as expect in Chrome

    XMLWordPrintable

Details

    Description

      Summary:
      Page content is displayed differently in Chrome and Firefox if you added <br/> into page

      Step to reproduce:

      1. Create new page in Confluence
      2. Put following Storage Format into source editor

      <ac:structured-macro ac:name="section" ac:schema-version="1" ac:macro-id="8ef992dc-8475-4289-971a-b80db5a1783c"><ac:rich-text-body>
      <p>This is a Section Text including a</p>
      <p>linebreak.</p>
      <p><br /></p><ac:structured-macro ac:name="column" ac:schema-version="1" ac:macro-id="e179f710-ae1e-4118-a6a5-1ab1bb15e4b9"><ac:rich-text-body>
      <p>Column 1 Text</p></ac:rich-text-body></ac:structured-macro><ac:structured-macro ac:name="column" ac:schema-version="1" ac:macro-id="afeee4ec-86d4-4ed3-a324-2f44aca44836"><ac:rich-text-body>
      <p>Column 2 Text</p></ac:rich-text-body></ac:structured-macro></ac:rich-text-body></ac:structured-macro>
      <p><br /></p>
      <p><br /></p>
      <p><br /></p>
      <p><br /></p>
      <p><br /></p>

      3. Click save
      4. View the page using Firefox and Chrome

      Expected Behavior

      Both browsers should display the content similar to below screenshot:

      Actual Behavior

      Firefox:

      Chrome:

      Attachments

        1. chrome.png
          chrome.png
          16 kB
        2. firefox.png
          firefox.png
          25 kB

        Activity

          People

            Unassigned Unassigned
            mzakaria@atlassian.com Zulfarhan Zakaria (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: