fix: label shall only allow to show text instead of html content

This commit is contained in:
DanyLE 2023-02-02 19:53:22 +01:00 committed by Dany LE
parent 60137fb4fb
commit d3540d7575

View File

@ -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();
}