File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -2509,7 +2509,7 @@ class LinkProcessor(Extra):
2509
2509
order = (Stage .ITALIC_AND_BOLD ,), (Stage .ESCAPE_SPECIAL ,)
2510
2510
options : _LinkProcessorExtraOpts
2511
2511
2512
- def __init__ (self , md : Markdown , options : Dict | None ):
2512
+ def __init__ (self , md : Markdown , options : Optional [ dict ] ):
2513
2513
options = options or {}
2514
2514
super ().__init__ (md , options )
2515
2515
@@ -3247,7 +3247,7 @@ class MarkdownFileLinks(LinkProcessor):
3247
3247
order = (Stage .LINKS ,), (Stage .LINK_DEFS ,)
3248
3248
options : _MarkdownFileLinksExtraOpts
3249
3249
3250
- def __init__ (self , md : Markdown , options : Dict | None ):
3250
+ def __init__ (self , md : Markdown , options : Optional [ dict ] ):
3251
3251
# override LinkProcessor defaults
3252
3252
options = {'tags' : ['a' ], 'ref' : False , ** (options or {})}
3253
3253
super ().__init__ (md , options )
You can’t perform that action at this time.
0 commit comments