From d7d25303c3c87c27398fcd21140a34f1dce6f32a Mon Sep 17 00:00:00 2001 From: Gerald Date: Mon, 31 Jul 2023 19:56:41 +0200 Subject: [PATCH] Use a non-breaking space between the inverter temperature value and its unit. --- src/web/html/visualization.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/web/html/visualization.html b/src/web/html/visualization.html index 431dadd9..538c732b 100644 --- a/src/web/html/visualization.html +++ b/src/web/html/visualization.html @@ -93,14 +93,14 @@ total[2] += obj.ch[0][6]; // YieldTotal total[3] += obj.ch[0][8]; // P_DC total[4] += obj.ch[0][10]; // Q_AC - var t = span(" °C"); + var t = span(" °C"); return ml("div", {class: "row mt-2"}, ml("div", {class: "col"}, [ ml("div", {class: "p-2 iv-h"}, ml("div", {class: "row"}, [ ml("div", {class: "col mx-2 mx-md-1"}, obj.name), ml("div", {class: "col a-c"}, "Power limit " + ((obj.power_limit_read == 65535) ? "n/a" : (obj.power_limit_read + " %"))), - ml("div", {class: "col a-r mx-2 mx-md-1"}, String(obj.ch[0][5]) + t.innerHTML) + ml("div", {class: "col a-r mx-2 mx-md-1"}, String(obj.ch[0][5]) + t.innerText) ]) ), ml("div", {class: "p-2 iv-bg"}, [