-
Bug
-
Resolution: Timed out
-
Low
-
None
-
None
-
None
-
None
-
1
-
NOTE: This bug report is for Confluence Server. Using Confluence Cloud? See the corresponding bug report.
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:
ord('[paste]');
where [paste] is Ctrl-V, pasting from the clipboard.
- The result you get is 194
- Now just type:
ord(' ');
with a normal spacebar space. The result you get is 32.
- relates to
-
CONFCLOUD-37091 Codeblock macro converts tab to 4x ASCII 194 characters.
-
- Closed
-
[CONFSERVER-37091] Codeblock macro converts tab to 4x ASCII 194 characters.
Workflow | Original: JAC Bug Workflow v3 [ 2881558 ] | New: CONFSERVER Bug Workflow v4 [ 2977708 ] |
Workflow | Original: JAC Bug Workflow v2 [ 2782522 ] | New: JAC Bug Workflow v3 [ 2881558 ] |
Status | Original: Resolved [ 5 ] | New: Closed [ 6 ] |
Workflow | Original: JAC Bug Workflow [ 2711524 ] | New: JAC Bug Workflow v2 [ 2782522 ] |
Workflow | Original: Confluence Workflow - Public Facing - Restricted v5 - TEMP [ 2372812 ] | New: JAC Bug Workflow [ 2711524 ] |
Workflow | Original: Confluence Workflow - Public Facing - Restricted v5 [ 2257160 ] | New: Confluence Workflow - Public Facing - Restricted v5 - TEMP [ 2372812 ] |
Workflow | Original: Confluence Workflow - Public Facing - Restricted v5.1 - TEMP [ 2208402 ] | New: Confluence Workflow - Public Facing - Restricted v5 [ 2257160 ] |
Workflow | Original: Confluence Workflow - Public Facing - Restricted v5 - TEMP [ 2154126 ] | New: Confluence Workflow - Public Facing - Restricted v5.1 - TEMP [ 2208402 ] |
Workflow | Original: Confluence Workflow - Public Facing - Restricted v5 [ 1940176 ] | New: Confluence Workflow - Public Facing - Restricted v5 - TEMP [ 2154126 ] |
Workflow | Original: Confluence Workflow - Public Facing - Restricted v3 [ 1735401 ] | New: Confluence Workflow - Public Facing - Restricted v5 [ 1940176 ] |
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. |