Skip to content

Commit

Permalink
replace / with _ in trId (#15256)
Browse files Browse the repository at this point in the history
Fixes jquery error when clicking to collapse/expand a panel
  • Loading branch information
stisa authored Sep 2, 2020
1 parent 2447601 commit 3172ca5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion testament/htmlgen.nim
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 3172ca5

Please sign in to comment.