diff --git a/changelog.md b/changelog.md index 7e104a1..e43e127 100644 --- a/changelog.md +++ b/changelog.md @@ -937,3 +937,5 @@ index 465d4ad..aa8bad6 100644 - GH-181 [BUG] xAxis: Date mismatch in combined charts. Especially when using cumulative aggregation. Feel free to comment if you have more infos, or also noticed this issue. # Next + +- Fixed gauge label decoding. GH-271 diff --git a/skins/weewx-wdc/src/js/diagrams/d3/gauge.tsx b/skins/weewx-wdc/src/js/diagrams/d3/gauge.tsx index 3791fcf..95251d6 100644 --- a/skins/weewx-wdc/src/js/diagrams/d3/gauge.tsx +++ b/skins/weewx-wdc/src/js/diagrams/d3/gauge.tsx @@ -632,7 +632,7 @@ export const D3GaugeDiagram: FunctionComponent = ( // Observation label, eg. Outside Temperature. textWrap .append("text") - .text(props.label) + .text(he.decode(props.label)) .attr("class", "gauge-label") .attr("width", 350) .attr("text-anchor", "middle")