Merge pull request #112069 from engelsdamien/master

Updates tsec and rewrites sinks assignement
This commit is contained in:
Johannes Rieken
2020-12-09 11:35:58 +01:00
committed by GitHub
10 changed files with 31 additions and 31 deletions

View File

@@ -1387,7 +1387,7 @@ export function safeInnerHtml(node: HTMLElement, value: string): void {
}, ['class', 'id', 'role', 'tabindex']);
const html = _ttpSafeInnerHtml?.createHTML(value, options) ?? insane(value, options);
node.innerHTML = html as unknown as string;
node.innerHTML = html as string;
}
/**