How to escape percentage sign (%)

I get an error 500 when putting a percentage sign as title2 of a (gauge) widget.

title1: 'CPU'
title2: '%'

How to escape it?
I tried \% and %% but both don’t work.
When putting ‘CPU %’ there is no problem.

Thanks,

J

I found a workaround for this issue.

If you first put the hex value for non breaking space (&nbsp) in front of the % sign it works.

title2: "\xa0%"

1 Like