In Confluence 3.5.13, i used convertWikiToXHtml (WikiStyleRenderer class) method to convert Confluence page content into HTML.
Confluence 4.x uses XHTML-based storage format (ac:macro). What is the equivalent method to convert Confluence 4 page content into HTML?
I would take a look at the DefaultRenderer class and the Render interface in com.atlassian.confluence.content.render.xhtml. This should help you render the html for displaying: Atlassian Docs - DefaultRenderer
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.