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

This widget could not be displayed.

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
Community showcase
Posted Monday in Confluence

Why start from scratch? Introducing four new templates for Confluence Cloud

Hi my Community friends!  For those who don't know me, I'm a product marketer on the Confluence Cloud team - nice to meet you! For those of you who do, you know that I've been all up in your Co...

485 views 6 6
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