ui_migration bugfix(component) Fix innerText tag error from test

This commit is contained in:
Antonio Anaya 2026-05-12 23:22:43 -06:00
parent 13b5e86269
commit 8afc7a61f3
3 changed files with 35 additions and 40 deletions

View file

@ -225,7 +225,7 @@ export default {
},
escapeText: function (unsafeText) {
let div = document.createElement("div");
div.innerText = unsafeText;
div.textContent = unsafeText;
return div.innerHTML;
},
},