HTML Tags Not Working in Table Panel After Enabling disable_sanitize_html

Hi Grafana Community,

I’m encountering an issue with HTML tags not rendering properly in my Table panel, even after making the necessary configuration changes.

Issue Description:

I followed the instructions to enable HTML tags in the Table panel by setting the disable_sanitize_html option to true in the custom.ini file. Here are the steps I followed:

  1. Updated the custom.ini file with the following setting:
**disable_sanitize_html = true**
  1. Restarted Grafana to apply the changes.

Despite these changes, the HTML tags are still not being rendered correctly in the Table panel.

I’m facing an issue where HTML tags are not rendering properly in my Table panel. Specifically, I used the <big> tag to format text for the location column, but the output is displaying the tags as plain text rather than applying the formatting.

Additional Details:

  • Grafana Version: 9.2.0
  • Panel Type: Table Panel

Reference:

I initially took the idea from a community post regarding font size adjustments in the Table panel, which can be found here: Different Font Size in Table - My Method, Any Other?.

Tag:

I would like to tag @vladvesta, who suggested the workaround in the referenced post, in case they have additional insights or updates on this issue.

Question:

Has anyone experienced similar issues or have any insights on why HTML tags might not be rendering despite enabling disable_sanitize_html? Are there any additional steps or configurations needed to resolve this?
Any

did you include the single quotes?

it should just be:
disable_sanitize_html = true

Which part should be in single quotes ?
disable_sanitize_html = true

I have used the tag in the query like this

it shouldn’t be in single quotes, your post looks like this:
‘disable_sanitize_html = true’

i haven’t got that to work for a while now, but you can try the dynamic text panel for more customisable options…