Disabling Sanitize HTML - Text panel issue after upgrade

Hi!
Upon the upgrade to 6.0, we’re having an issue - by default Grafana now applies sanatize_html. We have one line of unsanatized html code in our project (it’s to hide a column that is being used for sorting/ordering).

Since we’re using Grafana Cloud, we’re unable to access the config file and disable sanatize_html.

Is anyone aware of a workaround?
Is there a way to still use a version before 6.0?

Here’s the single line of code that is being affected:

.table-panel-table td:nth-of-type(1), .table-panel-table th:nth-of-type(1) { display: none; }
1 Like

Hi Ballast, did you find a solution for this?

Hi @ballast & @mfleury

Grafana Cloud environments do not allow setting disable_sanitize_html to true, due to security concerns:

This is something you can choose to edit with a self-managed Grafana environment if the risk is tolerable.

If the original goal was to hide a column that was used for sorting/ordering, you should be able to use a field override or transformation.

For example: