• 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.

            Katherine Yabut made changes -
            Workflow Original: JAC Bug Workflow v3 [ 2881558 ] New: CONFSERVER Bug Workflow v4 [ 2977708 ]
            Owen made changes -
            Workflow Original: JAC Bug Workflow v2 [ 2782522 ] New: JAC Bug Workflow v3 [ 2881558 ]
            Status Original: Resolved [ 5 ] New: Closed [ 6 ]
            Owen made changes -
            Workflow Original: JAC Bug Workflow [ 2711524 ] New: JAC Bug Workflow v2 [ 2782522 ]
            Owen made changes -
            Workflow Original: Confluence Workflow - Public Facing - Restricted v5 - TEMP [ 2372812 ] New: JAC Bug Workflow [ 2711524 ]
            Katherine Yabut made changes -
            Workflow Original: Confluence Workflow - Public Facing - Restricted v5 [ 2257160 ] New: Confluence Workflow - Public Facing - Restricted v5 - TEMP [ 2372812 ]
            Katherine Yabut made changes -
            Workflow Original: Confluence Workflow - Public Facing - Restricted v5.1 - TEMP [ 2208402 ] New: Confluence Workflow - Public Facing - Restricted v5 [ 2257160 ]
            Katherine Yabut made changes -
            Workflow Original: Confluence Workflow - Public Facing - Restricted v5 - TEMP [ 2154126 ] New: Confluence Workflow - Public Facing - Restricted v5.1 - TEMP [ 2208402 ]
            Katherine Yabut made changes -
            Workflow Original: Confluence Workflow - Public Facing - Restricted v5 [ 1940176 ] New: Confluence Workflow - Public Facing - Restricted v5 - TEMP [ 2154126 ]
            Katherine Yabut made changes -
            Workflow Original: Confluence Workflow - Public Facing - Restricted v3 [ 1735401 ] New: Confluence Workflow - Public Facing - Restricted v5 [ 1940176 ]
            jonah (Inactive) made changes -
            Description Original: Steps to reproduce:

            # Write some source code under code block macro on a Confluence page.
            # Make sure you "tab" on every new line.
            # Save the page
            # Double click to select, the copy then text.
            # Paste it on a text editor and tabs will be replaced for spaces.
            # Copy *one* of the spaces to the clipboard
            # Go to http://repl.it/languages/PHP
            # Type: {code} ord('[paste]'); {code}
            where [paste] is Ctrl-V, pasting from the clipboard.
            # The result you get is 194
            # Now just type: {code} ord(' '); {code}
            with a normal spacebar space. The result you get is 32.
            New: {panel:bgColor=#e7f4fa}
              *NOTE:* This bug report is for *Confluence Server*. Using *Confluence Cloud*? [See the corresponding bug report|http://jira.atlassian.com/browse/CONFCLOUD-37091].
              {panel}

            Steps to reproduce:

            # Write some source code under code block macro on a Confluence page.
            # Make sure you "tab" on every new line.
            # Save the page
            # Double click to select, the copy then text.
            # Paste it on a text editor and tabs will be replaced for spaces.
            # Copy *one* of the spaces to the clipboard
            # Go to http://repl.it/languages/PHP
            # Type: {code} ord('[paste]'); {code}
            where [paste] is Ctrl-V, pasting from the clipboard.
            # The result you get is 194
            # Now just type: {code} ord(' '); {code}
            with a normal spacebar space. The result you get is 32.

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

                Created:
                Updated:
                Resolved: