Skip to content

Commit 33b3b3b

Browse files
AmoghParmarstrangelookingnerdPnkcahtMarkEWaitekrisstern
authored
Fix sidebar navigation for non-ASCII localized section headers (#26068)
* Fix sidebar navigation for non-ASCII localized section headers * Bump minimum supported remoting version (#26034) * Fix race condition during initial admin account creation (#26036) * Update README.md * Update README.md * Update README.md * Remove link to non-existent newsletter Also format with `yarn lint:fix` as noted in the contributing guide. * Update README.md * Update good first issues query * Fix race condition during initial admin account creation * Update core/src/main/java/hudson/security/HudsonPrivateSecurityRealm.java Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * Use synchronized method for initial admin account creation --------- Co-authored-by: Mark Waite <mark.earl.waite@gmail.com> Co-authored-by: Kris Stern <krisstern@outlook.com> Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * Collect telemetry for Java properties (#26038) Reinstantiate telemetry for Java properties Signed-off-by: Alexander Brandes <mc.cache@web.de> * Update dependency com.puppycrawl.tools:checkstyle to v12.3.1 (#26041) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * Update dependency io.jenkins.plugins:jakarta-xml-bind-api to v4.0.6-12.vb_1833c1231d3 (#26042) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * Update dependency io.jenkins.plugins:jaxb to v2.3.9-143.v5979df3304e6 (#26043) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * Update dependency io.jenkins.plugins:checks-api to v402 (#26044) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * Update dependency org.jenkins-ci.plugins:credentials to v1460 (#26046) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * Update stapler.version to v2065 (major) (#26049) Update stapler.version to v2065 Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * Update dependency org.jenkins-ci:version-number to v1.14 (#26054) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * Fix sidebar navigation for non-ASCII section headers * Resolve merge conflict with master --------- Signed-off-by: Alexander Brandes <mc.cache@web.de> Co-authored-by: strangelookingnerd <49242855+strangelookingnerd@users.noreply.github.com> Co-authored-by: Pnkcaht <samzoovsk19@gmail.com> Co-authored-by: Mark Waite <mark.earl.waite@gmail.com> Co-authored-by: Kris Stern <krisstern@outlook.com> Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> Co-authored-by: Alexander Brandes <mc.cache@web.de> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Daniel Beck <1831569+daniel-beck@users.noreply.github.com>
1 parent 0cdf05e commit 33b3b3b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/main/js/util/dom.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ export function createElementFromHtml(html) {
55
}
66

77
export function toId(string) {
8-
return string
9-
.trim()
10-
.replace(/[\W_]+/g, "-")
11-
.toLowerCase();
8+
const trimmed = string.trim();
9+
return Array.from(trimmed)
10+
.map((c) => c.codePointAt(0).toString(16))
11+
.join("-");
1212
}

0 commit comments

Comments
 (0)