Commit c352a193 authored by Mathias Goebel's avatar Mathias Goebel 🎠
Browse files

Merge branch 'bugfix/multilang-#44' into 'develop'

Add a possible solution to Multilang bug (closes #44)

Closes #44

See merge request !46
parents 4f40da90 3b897d8e
......@@ -39,7 +39,8 @@ declare function nav:head($node as node(), $model as map(*)) {
()
else
attribute target {"_blank"},
if ($nav:langTest or not($model("subitem")/@*[local-name() ="label-" || $nav:lang]))
(: if ($nav:langTest or not($model("subitem")/@*[local-name() ="label-" || $nav:lang])):)
if ($nav:langTest)
then string($model("item")/@label)
else string($model("item")/@*[local-name( . ) = "label-" || $nav:lang])
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment