ui_migration bugfix(component) Fix innerText tag error from test
This commit is contained in:
parent
13b5e86269
commit
8afc7a61f3
3 changed files with 35 additions and 40 deletions
|
|
@ -225,7 +225,7 @@ export default {
|
|||
},
|
||||
escapeText: function (unsafeText) {
|
||||
let div = document.createElement("div");
|
||||
div.innerText = unsafeText;
|
||||
div.textContent = unsafeText;
|
||||
return div.innerHTML;
|
||||
},
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue