After upgrade (3.2->3.5) SQL Plugin no longer renders HTML

{sql:datasource=MINE|output=html|columnLabel=true}

Instead of renderring HTML, you just see HTML in the table cells.

Can this behaviour be changed?


1 answer

In newer versions of the SQL Plugin there is a parameter disableAntiXss which you need to set to true, otherwise the html output would be escaped. See documentation.

{sql:datasource=MINE|output=html|columnLabel=true|disableAntiXss=true}

For security reasons, use of this parameter is restricted to authorized users. It can be enabled by configuring security using the Confluence Macro Security Plugin.

Hope this helps

I ended up disabling the security "feature"

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Mar 12, 2019 in Confluence

Confluence Admin Certification now $150 for Community Members

More and more people are building their careers with Atlassian, and we want you to be at the front of this wave! Important Dates Start the Certification Prep Course by 2 April 2019 Take your e...

1,123 views 2 13
Read article

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