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

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

HTML macro not rendering

Hi all,

I have a Page with a HTML macro inside. The content of the macro is a simple text line.

When I edit the text with the confluence editor and save the changes, the content is displayed perfectly.

However, when I do the same via REST API, the request is processed without error (returns 200), but the entire macro's HTML definition is displayed instead of being rendered.

I spent several hours to fix the problem, without success.

Has anyone experienced something similar and has a solution?

Thanks in advance!

 

 

 

 

1 answer

Without seeing your code, made sure you have beginning and closing html. Example <p> and </p>

Hi Carla,

thanks for your answer.

Yes, the HTML code is definitively correct, I checked it with an online HTML validator...

Question: Are you using the Code Macro? That is a holding frame for code. It is not a styling tool for the page

I normally do not provide answers that direct users to third party apps, but it sounds like where the path is leading at the moment.  What I did find is that for confluence cloud API related HTML has risks. Here is related thread: https://community.atlassian.com/t5/Confluence-questions/How-to-enable-HTML-Macro-on-Confluence-cloud/qaq-p/1068527

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Confluence

Announcing Team Calendars in Confluence Data Center

Hi Community! We're thrilled to share that Team Calendars for Confluence is now a built-in feature for Confluence Data Center releases 7.11 and beyond.  A long time favorite,  Team Cale...

101 views 0 3
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you