mirror of
https://github.com/vale981/recommonmark
synced 2025-03-04 17:41:38 -05:00
Fix defaults
This commit is contained in:
parent
368010612f
commit
6e00b79de9
1 changed files with 10 additions and 0 deletions
|
@ -82,6 +82,12 @@ class DummyStateMachine(StateMachineWS):
|
|||
node : docutil Node
|
||||
Node generated by the arguments.
|
||||
"""
|
||||
if options is None:
|
||||
options = {}
|
||||
if content is None:
|
||||
content = []
|
||||
if arguments is None:
|
||||
arguments = []
|
||||
direc, msg = directive(name,
|
||||
self.language,
|
||||
self.document)
|
||||
|
@ -111,6 +117,10 @@ class DummyStateMachine(StateMachineWS):
|
|||
node : docutil Node
|
||||
Node generated by the arguments.
|
||||
"""
|
||||
if options is None:
|
||||
options = {}
|
||||
if content is None:
|
||||
content = []
|
||||
role_fn, msg = role(name,
|
||||
self.language,
|
||||
self.node.line,
|
||||
|
|
Loading…
Add table
Reference in a new issue