Html code is as a text in Plug-in TestPlan.

Hi all,

I have problem with plug-in TestPlan ( in the new Confluence 4.2, where icons are not shown (see figure below). Html code is as a text.

I tried an alternative -> plug-in TestPlan allows to define your own macro „pass“. My macro looks as follow:

## @noparams
<ac:image><ri:attachment ri:filename="check.png" /></ac:image>

but the result is the same. If I use macro „pass“ elsewhere, it works correctly.

See storage format:

<ac:macro ac:name="unmigrated-inline-wiki-markup">
<ac:parameter ac:name="atlassian-macro-output-type">BLOCK</ac:parameter><ac:plain-text-body>
<p><ac:macro ac:name="pass" /></p>

And result:

Could you, please, advise where the problem is?

Thanks Martin

2 answers

1 accepted

1 vote
David Simpson Community Champion May 09, 2012

This needs fixing by the plugin developers really...

In the meantime, could you perhaps use javascript to rewrite the code in the table cells? Be very specific with the cells so that you don't rewrite anything else.

For example this might be a starting point:

encodedHtml = AJS.$('.someSelector td#someId').html();
decodedHtml = encodedHtml.replace(/&amp;lt;/g,"&lt;").replace(/&amp;gt;/g, "&gt;");
AJS.$('.someSelector td#someId').html(decodedHtml);

As of Confluence 4.0, Anti-XSS Protection is enabled for plugins by default.


1. Disable the "Anti XSS Mode" for plugins via the Confluence "Security Configuration".

2. Modify the Velocity template by adding the following to the top of the vm file:


Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Kesha Thillainayagam
Posted Friday in Confluence

We want to hear how your non-technical teams are using Confluence!

Hi Community! Kesha (kay-sha) from the Confluence marketing team here! Can you share stories with us on how your non-technical (think Marketing, Sales, HR, legal, etc.) teams are using Confluen...

299 views 11 10
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you