rst: minor fixes (#18960)
This commit is contained in:
parent
b2873f0f63
commit
f03872d99e
4 changed files with 5 additions and 4 deletions
|
|
@ -55,7 +55,7 @@ proc toAst(input: string,
|
|||
|
||||
var (rst, _, _) = rstParse(input, filen, line=LineRstInit, column=ColRstInit,
|
||||
rstOptions, myFindFile, testMsgHandler)
|
||||
result = renderRstToStr(rst)
|
||||
result = treeRepr(rst)
|
||||
except EParseError as e:
|
||||
if e.msg != "":
|
||||
result = e.msg
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue