You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Passing in either a UTF-8 character like ’ (left single quote) or the escape equivalent \u2019 into a label format template ({value:%b ’%y}) renders labels properly, with value substitution
Noticed this after an update to Highcharts v11. Reproduced in at least latest version, 11.4.1
Affected browser(s)
Reproduced in latest versions of Chrome, Firefox, Safari and Edge on MacOS Sonoma.
Notes
It looks like this is avoidable at least in my case by breaking up the templates: {value:%b} \u2019{value:%y}; but including the apostrophe inline did work in 10.3, so this may be a regression?
The text was updated successfully, but these errors were encountered:
Expected behaviour
Passing in either a UTF-8 character like
’
(left single quote) or the escape equivalent\u2019
into a label format template ({value:%b ’%y}
) renders labels properly, with value substitutionActual behaviour
Labels render as template string
Live demo with steps to reproduce
https://codepen.io/bensaufley-the-animator/pen/ExJqzgE?editors=0010
Product version
Noticed this after an update to Highcharts v11. Reproduced in at least latest version, 11.4.1
Affected browser(s)
Reproduced in latest versions of Chrome, Firefox, Safari and Edge on MacOS Sonoma.
Notes
It looks like this is avoidable at least in my case by breaking up the templates:
{value:%b} \u2019{value:%y}
; but including the apostrophe inline did work in 10.3, so this may be a regression?The text was updated successfully, but these errors were encountered: