Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,457,352
Community Members
 
Community Events
176
Community Groups

Pasting into HTML macro partially decodes HTML

I've noticed that pasting into an HTML macro (old editor) has recently broken.

 

If you do something as simple as type this:

>

And then copy and paste it, it will be pasted as ">" instead of "&gt;".  This breaks my ability to use HTML macros.  I paste in relatively large blocks of HTML that include hundreds of &gt; and &lt; which now get replaced by <> which ends up being invalid HTML.

2 answers

Hello, was the ticket already created / issue solved? The only thing I found was this page, which neither has a reply not a ticket attached. (https://community.developer.atlassian.com/t/paste-html-character-entity-references-like-lt-is-immediately-decoded-by-macro-body-editors/36796)

I am facing the same issue currently and would love to have a good solution.

I raised a bug on another page.  The bug was acknowledged years ago, but no progress has been made on a fix.  I get the impression that they have no interest in fixing this.

In the end, I created a script to escape all my HTML before copying it into the clipboard.  That way, when I pasted, it looked correct.

0 votes

Hi @Rolf ,   Is this for the Confluence Cloud HTML app found here?

https://marketplace.atlassian.com/apps/1212279/html-macro-for-confluence-cloud?hosting=cloud&tab=overview

 

If so then please open a ticket here if you haven't already:

https://artemis.atlassian.net/servicedesk/customer/portal/3/group/-1

 

Thanks!

Brendan

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events