mirror of
https://github.com/nim-lang/Nim.git
synced 2026-04-19 22:10:33 +00:00
replace / with _ in trId (#15256)
Fixes jquery error when clicking to collapse/expand a panel
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user