fix: label shall only allow to show text instead of html content
All checks were successful
gitea-sync/antos/pipeline/head This commit looks good

This commit is contained in:
DanyLE 2023-02-02 19:53:22 +01:00
parent a800f03d0a
commit c8fbc08c63

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