Commit 18d967bc authored by sendler's avatar sendler 🐢
Browse files

add missing for-loop in transformation of tei:placeName

parent c68bf940
......@@ -411,9 +411,11 @@ return
return
if ( count($refs) gt 1) then
(<span class="placeName">{local:magic($node/node())}</span>,
<a class="placeName" href="#" onclick="openPlaceName('{$ref}')" textgridURI="{$ref}">
<i class="fas fa-map-marker-alt"></i>
</a>)
for $ref in $refs return
<a class="placeName" href="#" onclick="openPlaceName('{$ref}')" textgridURI="{$ref}">
<i class="fas fa-map-marker-alt"></i>
</a>
)
else
<a class="placeName" href="#" onclick="openPlaceName('{$refs}')" textgridURI="{$refs}">
<span class="placeName">{local:magic($node/node())}</span>
......
Supports Markdown
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