Skip to content

Commit a8d806c

Browse files
committed
fixes linking places, closes #14
1 parent 9142810 commit a8d806c

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

changeLog.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Changes
22

3+
## 0.22.3
4+
5+
- fixes linking places (issue #14)
6+
37
## 0.22.2
48

59
- `@ana` is supported everywhere, not only on `<span>`

framework/frameworks/oxbytei/config/default.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -265,7 +265,7 @@
265265
<argument name="namespaces">t:http://www.tei-c.org/ns/1.0 xml:http://www.w3.org/XML/1998/namespace</argument>
266266
<argument name="selection">//t:text/descendant::t:place[@xml:id]</argument>
267267
<argument name="key">@xml:id</argument>
268-
<argument name="label">normalize-space(t:placeName)</argument>
268+
<argument name="label">normalize-space(t:placeName[1])</argument>
269269
<argument name="prefixDef">//t:teiHeader//t:prefixDef[matches(@ident, '^(pl|plc|place)')]</argument>
270270
<argument name="prefixDefRef">tokenize(@replacementPattern, '#')[1]</argument>
271271
</arguments>
@@ -281,7 +281,7 @@
281281
<argument name="namespaces">t:http://www.tei-c.org/ns/1.0 xml:http://www.w3.org/XML/1998/namespace</argument>
282282
<argument name="selection">//t:text/descendant::t:org[@xml:id]</argument>
283283
<argument name="key">@xml:id</argument>
284-
<argument name="label">normalize-space(t:orgName)</argument>
284+
<argument name="label">normalize-space(t:orgName[1])</argument>
285285
<argument name="prefixDef">//t:teiHeader//t:prefixDef[matches(@ident, '^(org)')]</argument>
286286
<argument name="prefixDefRef">tokenize(@replacementPattern, '#')[1]</argument>
287287
</arguments>
@@ -297,7 +297,7 @@
297297
<argument name="namespaces">t:http://www.tei-c.org/ns/1.0 xml:http://www.w3.org/XML/1998/namespace</argument>
298298
<argument name="selection">//t:text/descendant::t:event[@xml:id]</argument>
299299
<argument name="key">@xml:id</argument>
300-
<argument name="label">normalize-space(t:eventName)</argument>
300+
<argument name="label">normalize-space(t:eventName[1])</argument>
301301
<argument name="prefixDef">//t:teiHeader//t:prefixDef[matches(@ident, '(ev|evn|evt|event)')]</argument>
302302
<argument name="prefixDefRef">tokenize(@replacementPattern, '#')[1]</argument>
303303
</arguments>

0 commit comments

Comments
 (0)