You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
Some time within the last month or so, Confluence's behavior when pasting in a markdown codeblock changed such that any backslash characters are being doubled up (each backslash in the source text results in two backslashes in the resulting codeblock on the page).
We use the codeblock syntax to post command-lines, which is convenient for copy-paste using the 'copy' button. But the 'escaping'(?) of the backslashes negates this utility. As far as I can tell, there is no way to prevent this. No matter what I do, the backslashes are doubled up inside the code block.
For example, if I copy the literal text below on to my clipboard:
```
commandline with a \
```
Then paste it (as plain text) into the current Confluence editor, the resulting code block looks like this:
Like I said, this only started happening recently. In the past this has pasted without issue. Is there any way to disable this behavior?
Hi @Adam Lewandowski I tried every variation of your example I could think of and I wasn't able to get it to paste without the double backslash. The only way was to create the code snippet first and paste the command without the enclosing back ticks into it. Which obviously isn't ideal as it's more work than simply copy/pasting the markdown.
If this was working for you previously I suggest opening a support ticket with Atlassian. Maybe this is a new bug, or maybe they recently changed the behavior for some reason.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.