fixes #10602
This commit is contained in:
parent
fd62d24c4c
commit
4572568045
1 changed files with 2 additions and 2 deletions
|
|
@ -777,7 +777,7 @@ proc parseMarkdownCodeblock(p: var RstParser): PRstNode =
|
|||
add(lb, n)
|
||||
result = newRstNode(rnCodeBlock)
|
||||
add(result, args)
|
||||
add(result, nil)
|
||||
add(result, PRstNode(nil))
|
||||
add(result, lb)
|
||||
|
||||
proc parseMarkdownLink(p: var RstParser; father: PRstNode): bool =
|
||||
|
|
@ -1537,7 +1537,7 @@ proc parseDirective(p: var RstParser, flags: DirFlags,
|
|||
popInd(p)
|
||||
add(result, content)
|
||||
else:
|
||||
add(result, nil)
|
||||
add(result, PRstNode(nil))
|
||||
|
||||
proc parseDirBody(p: var RstParser, contentParser: SectionParser): PRstNode =
|
||||
if indFollows(p):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue