Skip to content

Commit

Permalink
less innerHTML in processExplorerMain, fyi @RMacfarlane, #106395
Browse files Browse the repository at this point in the history
  • Loading branch information
jrieken committed Oct 8, 2020
1 parent 6226d75 commit 5c4b013
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -321,7 +321,7 @@ class ProcessExplorer {
content.push(`.highest { color: ${styles.highlightForeground}; }`);
}

styleTag.innerHTML = content.join('\n');
styleTag.textContent = content.join('\n');
if (document.head) {
document.head.appendChild(styleTag);
}
Expand Down

0 comments on commit 5c4b013

Please sign in to comment.