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,298,122
Community Members
 
Community Events
165
Community Groups

Is there a way to get a page content without the HTML tags

I am using the following call:
https://<company>.atlassian.net/wiki/rest/api/content/<ID>?expand=body.storage
to get a page content but I get it with the HTML tags.
is there a way to get the content without the HTML tags ?

Thanks !

1 answer

0 votes
Jessica Atlassian Team Jun 17, 2022

Hi Nati,

Welcome to the Atlassian Community!

I tried the options available in our Confluence Cloud REST API for the content body section, but none of the native options really generates the content without the HTML tags.

I didn't find any options so far in our marketplace as well, and through the UI, there is also not a possibility to generate the content body without the HTML tags. 

We understand this might not the optimal solution for your use case, but this might be necessary to find a third party solution or custom made script in order to remove the HTML tags for you.

Hope this helps at least in terms of clarification, Nati.

Regards,
Jessica

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS
Community showcase
Published in Confluence

An update on Confluence Cloud customer feedback – June 2022

Hi everyone, We’re always looking at how to improve Confluence and customer feedback plays an important role in making sure we're investing in the areas that will bring the most value to the most c...

150 views 1 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