DefaultWysiwygConverter: incorrect style conversion

Dominik Kaspar December 18, 2016

I'm using the DefaultWysiwygConverter to convert HTML into WikiMarkup. Every now and then I find small bugs... is this the correct place to report them?

Here's an example bug. Consider this HTML fragment:

<span style="color: rgb(255, 0, 0);"><em>Where?</em></span>

The DefaultWysiwygConverter.convertXHtmlToWikiMarkup() method converts this to the following WikiMarkup:

{color:#ff0000}{_}Where?_{color}

In JIRA, this markup does not appear in the correct color, but simply as grey. In our JIRA (v6.4.11), the underscores must be outside of the color elements for a correct display of italic and colored text.

By the way, I'm using the atlassian-renderer-8.0.5 (groupId=com.atlassian.renderer)... is there maybe a newer version of it available?

*Edit*

This conversion problem seems to affect only text inside of Xray Test steps!

1 answer

1 accepted

2 votes
Answer accepted
Xavier Fernandes January 10, 2017

Hi Dominik,

this is in fact a bug from Xray. This bug is already registered and is expected to be fixed in the next release (release 2.0.6).

http://jira.xpand-addons.com/browse/XRAY-1214

Please for any Xray related issues, you can also contact our support team leaving a ticket at

http://jira.xpand-addons.com/servicedesk/customer/portal/2

 

Kind regards,

Xavier Fernandes.

Dominik Kaspar January 10, 2017

Thanks for the info!

Suggest an answer

Log in or Sign up to answer