Fix trusted types in dom renderer

Fixes #4156
This commit is contained in:
Daniel Imms
2022-09-27 13:01:36 -07:00
parent 37c722d556
commit 23328a394b
@@ -166,7 +166,7 @@ export class DomRendererRowFactory {
if (cell.isUnderline()) {
charElement.classList.add(`${UNDERLINE_CLASS}-${cell.extended.underlineStyle}`);
if (charElement.textContent === ' ') {
charElement.innerHTML = ' ';
charElement.textContent = '\xa0'; // =  
}
if (!cell.isUnderlineColorDefault()) {
if (cell.isUnderlineColorRGB()) {