replace / with _ in trId (#15256)

Fixes jquery error when clicking to collapse/expand a panel
This commit is contained in:
Silvio
2020-09-02 20:53:02 +02:00
committed by GitHub
parent 244760197c
commit 3172ca5475

View File

@@ -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()