# HG changeset patch
# User Edouard Tisserant
# Date 1671194463 -3600
# Node ID 39ae17a1cabe0e331e782457b5fbcb5463bc81f1
# Parent  c17fac18c6639d20aa2e560ff37100226ede17a8
SVGHMI: fix input widget sometime messing with font style

diff -r c17fac18c663 -r 39ae17a1cabe svghmi/widget_input.ysl2
--- a/svghmi/widget_input.ysl2	Thu Dec 08 11:17:15 2022 +0100
+++ b/svghmi/widget_input.ysl2	Fri Dec 16 13:41:03 2022 +0100
@@ -92,7 +92,7 @@
 
     if "$have_value" {
     |     animate: function(){
-    |         this.value_elt.textContent = String(this.display);
+    |         multiline_to_svg_text(this.value_elt, String(this.display));
     |     },
     }
 
@@ -114,7 +114,7 @@
     }
 
     if "$have_value" {
-    |         this.value_elt.textContent = "";
+    |         multiline_to_svg_text(this.value_elt, "");
     }
     |     },
 }