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.
When I try to post html-code in a code block in wiki:
<a href="https://experience.tripster.ru/?exp_partner=TESTPARTNER&utm_source=TESTPARTNER&utm_campaign=affiliates&utm_medium=link" target="_blank">sometext</a>
And I publish the code, i receive following:
I've tried most of highlightning and style setting, but it's doesn't matter. Looks like it overrides highlightning and sets it as HTML/XML, because when I try another code block:
It looks fine in "Bash" or "Python" setting, but in HTML decoding it breaks all ampersands into "&".
Hi, Livadnyi Ivan,
Welcome to the Atlassian Community!
Thank you for reporting this behaviour. We could replicate it on our test instance, and the following bug report was opened on this issue:
CONFCLOUD-59800: Code Block macro: wrong HTML shown
We suggest you add yourself as a watcher to the bug to receive the updates. A comment with this Community post was added there for visibility. You can also find more information on our bug fixing policy here.
Best regards,
Thais
Hi, Thais Krischer,
Thank you for fast response and understanding the issue. I've subscribed this bug. Will wait for results.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
End of 2020. This is still not fixed, instead a phrase "ampersands are converted into HTML entities in code blocks" is added into docs.
This is not a bug, this is a feature! Confluence (l)users must suffer! Is that your point, Atlassian?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I just posted a new thread on this: https://community.atlassian.com/t5/Confluence-questions/Ampersands-revert-to-amp-amp-on-edit/qaq-p/2360403
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.