Skip to content

Commit

Permalink
Merge pull request #4157 from Tyriar/4156
Browse files Browse the repository at this point in the history
Fix trusted types in dom renderer
  • Loading branch information
Tyriar committed Sep 27, 2022
2 parents 399621e + 23328a3 commit 51c580e
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 51c580e

Please sign in to comment.