Skip to content

Commit 884b264

Browse files
use normalized string value for the label
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 3a24937 commit 884b264

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/cmif.xql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ declare function ct:cmif2-note($doc as document-node()) as element(tei:note)? {
180180
let $places := ct:mentioned-entity-by-wega-facet($doc, 'places', 'cmif:mentionsPlace')
181181
let $fullTextURL := config:permalink($doc/*/@xml:id) || '.xml?format=tei_all'
182182
let $languages :=
183-
$doc//tei:language[parent::tei:langUsage] ! ct:cmif2-ref('https://lod.academy/cmif/vocab/terms#hasLanguage', ./@ident, .)
183+
$doc//tei:language[parent::tei:langUsage] ! ct:cmif2-ref('https://lod.academy/cmif/vocab/terms#hasLanguage', ./@ident, normalize-space(.))
184184
return
185185
element {QName('http://www.tei-c.org/ns/1.0', 'note')} {
186186
$persons,

0 commit comments

Comments
 (0)