Skip to content

Commit d2a272e

Browse files
AmoghParmarstrangelookingnerdPnkcahtMarkEWaitekrisstern
authored andcommitted
Fix sidebar navigation for non-ASCII localized section headers (jenkinsci#26068)
* Fix sidebar navigation for non-ASCII localized section headers * Bump minimum supported remoting version (jenkinsci#26034) * Fix race condition during initial admin account creation (jenkinsci#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 <[email protected]> * Use synchronized method for initial admin account creation --------- Co-authored-by: Mark Waite <[email protected]> Co-authored-by: Kris Stern <[email protected]> Co-authored-by: Copilot <[email protected]> * Collect telemetry for Java properties (jenkinsci#26038) Reinstantiate telemetry for Java properties Signed-off-by: Alexander Brandes <[email protected]> * Update dependency com.puppycrawl.tools:checkstyle to v12.3.1 (jenkinsci#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 (jenkinsci#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 (jenkinsci#26043) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * Update dependency io.jenkins.plugins:checks-api to v402 (jenkinsci#26044) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * Update dependency org.jenkins-ci.plugins:credentials to v1460 (jenkinsci#26046) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * Update stapler.version to v2065 (major) (jenkinsci#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 (jenkinsci#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 <[email protected]> Co-authored-by: strangelookingnerd <[email protected]> Co-authored-by: Pnkcaht <[email protected]> Co-authored-by: Mark Waite <[email protected]> Co-authored-by: Kris Stern <[email protected]> Co-authored-by: Copilot <[email protected]> Co-authored-by: Alexander Brandes <[email protected]> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Daniel Beck <[email protected]>
1 parent 41bd57f commit d2a272e

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)