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

Doubleclicking Code Blocks Copies Spaces as Non-Breaking Spaces

    XMLWordPrintable

Details

    Description

      Steps to Reproduce:

      1. Access this page
      2. Select the content of code macro value by selecting from the top line to the last
      3. Paste it into text editor and view it as Hex
      4. From there you could see that Confluence paste the spaces correctly. For reference please refer to this attachment
      5. Select the content of code macro value by double clicking it
      6. Paste it into text editor and view it as Hex
      7. From there you could see that Confluence paste the spaces incorrectly, as it display as 0xA0 (non-breaking space) instead of 0x20 (normal space). For reference please refer to this attachment

      Expected Results:

      Confluence should paste it correctly as it is when user copy the code block content by selecting it instead of double clicking it.

      Actual Results:

      Confluence paste it as non-breaking space instead of normal spacing.

      Attachments

        1. double.txt
          0.1 kB
        2. selecting.txt
          0.1 kB

        Issue Links

          Activity

            People

              Unassigned Unassigned
              scahyadiputra Septa Cahyadiputra (Inactive)
              Votes:
              25 Vote for this issue
              Watchers:
              27 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: