mirror of
https://github.com/nim-lang/Nim.git
synced 2026-02-19 01:18:32 +00:00
@@ -2067,7 +2067,7 @@ proc parseOptionList(p: var RstParser): PRstNode =
|
||||
c.add(b)
|
||||
result.add(c)
|
||||
else:
|
||||
dec p.idx # back to tkIndent
|
||||
if currentTok(p).kind != tkEof: dec p.idx # back to tkIndent
|
||||
break
|
||||
|
||||
proc parseDefinitionList(p: var RstParser): PRstNode =
|
||||
|
||||
@@ -1362,6 +1362,7 @@ Test1
|
||||
output)
|
||||
check("""<th align="left">-d</th><td align="left">option</td>""" in
|
||||
output)
|
||||
check "<p>option</p>" notin output
|
||||
|
||||
test "Option list 3 (double /)":
|
||||
let input = dedent """
|
||||
@@ -1378,6 +1379,7 @@ Test1
|
||||
output)
|
||||
check("""<th align="left">-d</th><td align="left">option</td>""" in
|
||||
output)
|
||||
check "<p>option</p>" notin output
|
||||
|
||||
test "Roles: subscript prefix/postfix":
|
||||
let expected = "See <sub>some text</sub>."
|
||||
|
||||
Reference in New Issue
Block a user