You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
.replace(/\n/g,newlineStyle===MarkdownStringTextNewlineStyle.Break ? '\\\n' : '\n\n');// CodeQL [SM02383] The Markdown is fully sanitized after being rendered.
consttrustedHtml=ttPolicy?.createHTML(content.htmlContent)??content.htmlContent;// CodeQL [SM03712] The content comes from renderer extensions, not from direct user input.
2615
2615
this.element.innerHTML=trustedHtmlasstring;
2616
2616
}elseif(preloadErrors.some(e=>einstanceofError)){
2617
2617
consterrors=preloadErrors.filter((e): e is Error=>einstanceofError);
0 commit comments