* revive #16627 now that csources_v1 was merged * use dedent in rst.nim, refs https://github.com/nim-lang/Nim/pull/17257#discussion_r589025683 * fix test and improve rendering of a rst warning
This commit is contained in:
parent
76f93877cd
commit
3192995ac9
3 changed files with 5 additions and 6 deletions
|
|
@ -849,7 +849,7 @@ Test1
|
|||
let output8 = input8.toHtml(warnings = warnings8)
|
||||
check(warnings8[].len == 1)
|
||||
check("input(6, 1) Warning: RST style: \n" &
|
||||
" not enough indentation on line 6" in warnings8[0])
|
||||
"not enough indentation on line 6" in warnings8[0])
|
||||
doAssert output8 == "Paragraph.<ol class=\"upperalpha simple\">" &
|
||||
"<li>stringA</li>\n<li>stringB</li>\n</ol>\n<p>C. string1 string2 </p>\n"
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue