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

Just to add another reference to Remo's answer: SQL Plugin 4.1.0 released

I ended up disabling the security "feature"

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 Apr 13, 2018 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...

1,777 views 25 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