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

Copying and pasting line breaks from a Google Doc into a Confluence Page creates 2 line breaks

    XMLWordPrintable

Details

    Description

      Issue Summary

      Copying line breaks from a Google Doc into a Confluence Page creates 2 line breaks.

      It seems that a line break is stored in Google Doc as 

      <br />

      So when pasted into Confluence on it's own line it becomes 

      <p><br /></p>

      Which creates 2 line breaks. This results in having the customer manually delete the additional line. This happens in the new editor and legacy editor.

      Steps to Reproduce

      1. Create a multiple page google doc text file, include new paragraph with a line break in between them.
      2. Copy content
      3. Paste into Confluence Page
      4. You'll see on the line breaks the HTML tag <p><br /></p>

      Expected Results

      Only a single line break should be placed into the body of the page.

      Actual Results

      2 line breaks are created. Basically it seems like the HTML has a line break nested within a paragraph tag.

      Workaround

      Manually delete the additional line breaks.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              590db20ccbc2 Isaac S (Atlassian Support)
              Votes:
              8 Vote for this issue
              Watchers:
              12 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: