Skip to content

Commit

Permalink
fix(types): add RegExp to markdown's allowed attributes (#3008)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeff-Tian committed Sep 24, 2023
1 parent 6edc588 commit bc96b2b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/node/markdown/index.ts
Expand Up @@ -43,7 +43,7 @@ export interface MarkdownOptions extends MarkdownIt.Options {
attrs?: {
leftDelimiter?: string
rightDelimiter?: string
allowedAttributes?: string[]
allowedAttributes?: Array<string | RegExp>
disable?: boolean
}
defaultHighlightLang?: string
Expand Down

0 comments on commit bc96b2b

Please sign in to comment.