Compare commits

..

2 commits
v33 ... main

Author SHA1 Message Date
Magnus Åhall
a2c441bef2 Bumped to v34 2026-08-16 14:38:08 +02:00
Magnus Åhall
9a74c3e574 Better normalization of node names for navigation 2026-08-16 14:38:00 +02:00
2 changed files with 2 additions and 2 deletions

View file

@ -25,7 +25,7 @@ import (
"time"
)
const VERSION = "v33"
const VERSION = "v34"
const CONTEXT_USER = 1
const SYNC_PAGINATION = 200

View file

@ -577,7 +577,7 @@ class N2NodeNavigator extends CustomHTMLElement {
this.elChildren.replaceChildren(...childNodes)
}// }}}
normalizeName(name) {// {{{
return name.toLowerCase().replaceAll(/[^-_#()a-zA-Z0-9]/g, '_')
return name.toLowerCase().replaceAll(/\s+/g, '_')
}// }}}
getSearchPath() {// {{{
return this.fieldSearch.value.toLowerCase().split(/\s+/)