Wiki to html for external consumption, and html to wiki for Jira consumption

The renderedFields for a wiki property (like description) have html that references a css class which is not included in the value. For example, a simple table in Jira will result in html:

Because the confluenceTable class is not surfaced, this html can not be rendered externally without having the style.

When bringing into Jira html from an external source, I’m using the DefaultWysiwygConverter class. However, it doesn’t recognize very common tags like

. Also, using the style attribute for example on a span tag is also not recognized:

<span style=“font-weight:bold;”>

Is there any solution to either of these issues in order to make the html to/from Jira useful externally.

1 Like