Hi ,
I have a complex xhtml file with css styling. When i try to publish it to confluence python REST api i'm seeing 'Error parsing xhtml'. Tried to validate in w3c html validator i see many errors in the document. So, upon converting to html5 , i was able to publish the document but the styling is not applied properly. It would be great if i can publish the html content with perfect rendering in the confluence. Any pointers would be helpful
Sample python code :
Confluence is not a full HTML based web server, it uses its own internal format knows as ADF. You can't expect that any CSS thrown to Confluence will just work.
I am quite sure that you need to transform the HTML a bit to match the requirements of Confluence.
I've converted xhtml to html5 which works perfectly fine on the browser. But CSS styling is not rendered when i view the same html5 on confluence which was created using the REST API. @Aron Gombas _Midori_
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
is there any workaround so that i can get CSS styling on confluence page?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.