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)
|
add(lb, n)
|
||||||
result = newRstNode(rnCodeBlock)
|
result = newRstNode(rnCodeBlock)
|
||||||
add(result, args)
|
add(result, args)
|
||||||
add(result, nil)
|
add(result, PRstNode(nil))
|
||||||
add(result, lb)
|
add(result, lb)
|
||||||
|
|
||||||
proc parseMarkdownLink(p: var RstParser; father: PRstNode): bool =
|
proc parseMarkdownLink(p: var RstParser; father: PRstNode): bool =
|
||||||
|
|
@ -1537,7 +1537,7 @@ proc parseDirective(p: var RstParser, flags: DirFlags,
|
||||||
popInd(p)
|
popInd(p)
|
||||||
add(result, content)
|
add(result, content)
|
||||||
else:
|
else:
|
||||||
add(result, nil)
|
add(result, PRstNode(nil))
|
||||||
|
|
||||||
proc parseDirBody(p: var RstParser, contentParser: SectionParser): PRstNode =
|
proc parseDirBody(p: var RstParser, contentParser: SectionParser): PRstNode =
|
||||||
if indFollows(p):
|
if indFollows(p):
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue