diff options
author | Silvio <silvio@tisato.me> | 2020-09-02 20:53:02 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-02 20:53:02 +0200 |
commit | 3172ca54758e0a7e68d140a79ed98d0981b05e3f (patch) | |
tree | f8f7959e4a7d8e6a59166f934f906acf6c01f4bb | |
parent | 244760197cf1d24829ae45de5f25c10577152cdd (diff) | |
download | Nim-3172ca54758e0a7e68d140a79ed98d0981b05e3f.tar.gz |
replace / with _ in trId (#15256)
Fixes jquery error when clicking to collapse/expand a panel
-rw-r--r-- | testament/htmlgen.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/testament/htmlgen.nim b/testament/htmlgen.nim index 8e58dd95e..174f36d0b 100644 --- a/testament/htmlgen.nim +++ b/testament/htmlgen.nim @@ -16,7 +16,7 @@ import "testamenthtml.nimf" proc generateTestResultPanelPartial(outfile: File, testResultRow: JsonNode) = let trId = htmlQuote(testResultRow["category"].str & "_" & testResultRow["name"].str). - multiReplace({".": "_", " ": "_", ":": "_"}) + multiReplace({".": "_", " ": "_", ":": "_", "/": "_"}) name = testResultRow["name"].str.htmlQuote() category = testResultRow["category"].str.htmlQuote() target = testResultRow["target"].str.htmlQuote() |