How to render HTML / wiki markup in Report description

ulysse_vaussy November 25, 2015

Hello,

We switched to JIRA 6.3 and now when I browse the list of reports the HTML of the Report description is escaped.

Report-description.jpg

I have found how to switch between HTML and Wiki Markup for the project description but not for reports.

In my case I have a homemade report created as a plugin. The HTML description is in a .properties and set in the atlassian-plugin.xml

 

atlassian-plugin.xml:

<report key="reports" i18n-name-key="report.name" name="JIRA Report" class="com.bnppa.jira.plugin.reports.BnppaReports">
        <description key="report.description"/>

report.description =* some * bullet \\ 3test \\ 4test <br/> back <ul><li> one </li> <li> two </li></ul>

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

0 votes
Volodymyr Krupach
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
November 27, 2015

Hi Ulysse,

You are not supposed to put HTML tags into property files. Probably altassian added escaping for the project description retrieved from the properties. Just find appropriate wording for you report without HTML.

ulysse_vaussy November 29, 2015

Hi, I totally agree with you, but unfortunately it’s not me who decide the content.

Volodymyr Krupach
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
November 29, 2015

You can not do it if it's Undo-able regardless of somebody decision :-).

TAGS
AUG Leaders

Atlassian Community Events