• Icon: Bug Bug
    • Resolution: Timed out
    • Icon: Low Low
    • None
    • None
    • None
    • None

      NOTE: This bug report is for Confluence Server. Using Confluence Cloud? See the corresponding bug report.

      Steps to reproduce:

      1. Write some source code under code block macro on a Confluence page.
      2. Make sure you "tab" on every new line.
      3. Save the page
      4. Double click to select, the copy then text.
      5. Paste it on a text editor and tabs will be replaced for spaces.
      6. Copy one of the spaces to the clipboard
      7. Go to http://repl.it/languages/PHP
      8. Type:
         ord('[paste]'); 

        where [paste] is Ctrl-V, pasting from the clipboard.

      9. The result you get is 194
      10. Now just type:
         ord(' '); 

        with a normal spacebar space. The result you get is 32.

            [CONFSERVER-37091] Codeblock macro converts tab to 4x ASCII 194 characters.

            There are no comments yet on this issue.

              Unassigned Unassigned
              pjunior Paulo Junior (Inactive)
              Affected customers:
              6 This affects my team
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: