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

      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.

            [CONFCLOUD-73315] Copying and pasting line breaks from a Google Doc into a Confluence Page creates 2 line breaks

            Matthew Hunter made changes -
            Resolution New: Timed out [ 10 ]
            Status Original: Short Term Backlog [ 12074 ] New: Closed [ 6 ]
            Matthew Hunter made changes -
            Labels Original: confirmed-bug copy-paste New: confirmed-bug copy-paste stale-bulk-close202403
            Oksana Bodnar (Inactive) made changes -
            Labels Original: CNR14 copy-paste New: confirmed-bug copy-paste
            Ethan Yew made changes -
            Labels Original: CNR14 New: CNR14 copy-paste
            Oksana Bodnar (Inactive) made changes -
            Labels New: CNR14
            Mandy Ross (Inactive) made changes -
            Remote Link New: This issue links to "Page (Confluence)" [ 605138 ]
            Matthew Zhang made changes -
            Status Original: Needs Triage [ 10030 ] New: Short Term Backlog [ 12074 ]
            Bugfix Automation Bot made changes -
            Support reference count New: 1
            Isaac Spann created issue -

              Unassigned Unassigned
              590db20ccbc2 Isaac Spann
              Affected customers:
              8 This affects my team
              Watchers:
              12 Start watching this issue

                Created:
                Updated:
                Resolved: