File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
src/vs/workbench/contrib/markdown/browser Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change 44 *--------------------------------------------------------------------------------------------*/
55
66import { importAMDNodeModule , resolveAmdNodeModulePath } from '../../../../amdX.js' ;
7+ import * as domSanitize from '../../../../base/browser/domSanitize.js' ;
78import { MarkdownSanitizerConfig } from '../../../../base/browser/markdownRenderer.js' ;
89import { CodeWindow } from '../../../../base/browser/window.js' ;
910import { Lazy } from '../../../../base/common/lazy.js' ;
@@ -13,7 +14,7 @@ export class MarkedKatexSupport {
1314
1415 public static getSanitizerOptions ( baseConfig : {
1516 readonly allowedTags : readonly string [ ] ;
16- readonly allowedAttributes : readonly string [ ] ;
17+ readonly allowedAttributes : ReadonlyArray < string | domSanitize . SanitizeAttributeRule > ;
1718 } ) : MarkdownSanitizerConfig {
1819 return {
1920 allowedTags : {
You can’t perform that action at this time.
0 commit comments