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

Copy/source mode in code macro using incorrect character for a space in Chrome

    XMLWordPrintable

Details

    Description

      Using the copy/source feature of the code macro, where one is able to copy the content of the code block, doesn't work as expected in Chrome. Space characters (32) are displayed as, and therefore copied as, (160) - a non-breaking space.

      This appears to be due to the use of

       

      when rendering spaces in the code blocks. Chrome now faithfully renders

       

      using the correct unicode character 160.

      This can cause interesting problems when trying to copy a code block to a terminal or other application.

      Attachments

        Activity

          People

            shaffenden Steve Haffenden (Inactive)
            mbertrand aMarcus (Inactive)
            Votes:
            2 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: