Skip to content

Commit

Permalink
Fix trusted types in dom renderer
Browse files Browse the repository at this point in the history
Fixes #4156
  • Loading branch information
Tyriar committed Sep 27, 2022
1 parent 37c722d commit 23328a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/browser/renderer/dom/DomRendererRowFactory.ts
Expand Up @@ -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()) {
Expand Down

0 comments on commit 23328a3

Please sign in to comment.