From c8fbc08c633197bdbc69df98fc0ddfc22f692e93 Mon Sep 17 00:00:00 2001 From: DanyLE Date: Thu, 2 Feb 2023 19:53:22 +0100 Subject: [PATCH] fix: label shall only allow to show text instead of html content --- src/core/tags/LabelTag.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/tags/LabelTag.ts b/src/core/tags/LabelTag.ts index 4d88716..6d6ff84 100644 --- a/src/core/tags/LabelTag.ts +++ b/src/core/tags/LabelTag.ts @@ -193,7 +193,7 @@ namespace OS { this._text = v; if (v) { $(this.refs.text).show(); - $(this.refs.text).html(v.__()); + $(this.refs.text).text(v.__()); } else { $(this.refs.text).hide(); }