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.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.