mirror of
https://github.com/vale981/recommonmark
synced 2025-03-04 17:41:38 -05:00
fix contents directive
This commit is contained in:
parent
fdeeda5f6f
commit
0183db8365
1 changed files with 1 additions and 1 deletions
|
@ -243,7 +243,7 @@ class AutoStructify(transforms.Transform):
|
|||
node = nodes.section()
|
||||
self.state_machine.state.nested_parse(
|
||||
StringList(content, source=original_node.source),
|
||||
0, node=node, match_titles=False)
|
||||
0, node=node, match_titles=True)
|
||||
return node.children[:]
|
||||
else:
|
||||
match = re.search('[ ]?[\w_-]+::.*', language)
|
||||
|
|
Loading…
Add table
Reference in a new issue