Heads up! On March 5, starting at 4:30 PM Central Time, our community will be undergoing scheduled maintenance for a few hours. During this time, you will find the site temporarily inaccessible. Thanks for your patience. Read more.
×I am automatically updating a table on a confluence page using the REST API.
To make this process easier, I wrote a template and added tags to the individual cells.
<td data="TAG">
Updating the page works completely fine, but when I try to get the page again, all these data-tags are missing again.
Is there a way or setting, that I am missing here?
Hello @Luka Simon Thies
Is there a way or setting that I am missing here?
This is a frequently asked question. In short, the answer is no.
When you submit HTML as content for a page, it is parsed by Confluence, then sanitised, and some HTML element attributes, like data, are stripped out.
This is because Confluence's internal storage format is not pure HTML, but a hybrid format Atlassian calls XHTML, and it doesn't support the entire set of HTML objects / elements.
Google 'Confluence XHTML page storage format' to learn all about it.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.