ci: fix typhon test case labels

This commit is contained in:
Brad Stein 2026-05-16 16:43:53 -03:00
parent fbbb40ef56
commit a0f3493647

9
Jenkinsfile vendored
View File

@ -112,7 +112,14 @@ function unescapeXml(value) {
function attr(attrs, name) {
const needle = `${name}="`;
const start = attrs.indexOf(needle);
let start = attrs.indexOf(needle);
while (start > 0) {
const previous = attrs.charCodeAt(start - 1);
if (previous === 32 || previous === 9 || previous === 10 || previous === 13) {
break;
}
start = attrs.indexOf(needle, start + 1);
}
if (start < 0) return '';
const valueStart = start + needle.length;
const valueEnd = attrs.indexOf('"', valueStart);