diff --git a/lib/packages/docutils/rstgen.nim b/lib/packages/docutils/rstgen.nim index 5a3940f0b9bfc..9116c8cdabc31 100644 --- a/lib/packages/docutils/rstgen.nim +++ b/lib/packages/docutils/rstgen.nim @@ -80,7 +80,8 @@ type const dotdotMangle* = "_." ## refs #13223 #[ - needed for #13223. synchronize with `escapeLink`. + needed for #13223. + synchronize with `escapeLink` and tests/misc/trunner.nim Other options turned out problematic: `@@`, `..7`, `7..` `@@` can cause problems unless it's encoded %40 (ugly) according to https://stackoverflow.com/questions/19509028/can-i-use-an-at-symbol-inside-urls/19737890 diff --git a/tests/misc/trunner.nim b/tests/misc/trunner.nim index 996abeb18540b..55175daaf73af 100644 --- a/tests/misc/trunner.nim +++ b/tests/misc/trunner.nim @@ -102,8 +102,8 @@ else: # don't run twice the same test let htmlFile = htmldocsDir/"mmain.html" check htmlFile in outp # sanity check for `hintSuccessX` assertEquals ret, """ -@@/imp.html -@@/imp.idx +_./imp.html +_./imp.idx dochack.js imp.html imp.idx