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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Jul 10, 2018 in Confluence

We want to see the templates you've created in Confluence!

Hi Community, Jessica here from the Confluence Product Marketing team!  July’s community challenge is all about sharing pictures  — and as an extension of our first post on what ...

666 views 21 11
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