From 675db4b1ce2db5182f1e6bdef0c83bf5f3298dfa Mon Sep 17 00:00:00 2001 From: Timothee Cour Date: Mon, 25 May 2020 22:12:55 -0700 Subject: [PATCH] _ --- lib/packages/docutils/rstgen.nim | 3 ++- tests/misc/trunner.nim | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) 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