Skip to content

Commit 77db545

Browse files
committed
fix addition of currency symbols
in cases where a tei:sic is present in the tei:measure
1 parent ab7677f commit 77db545

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

xsl/common_funcs.xsl

+2-1
Original file line numberDiff line numberDiff line change
@@ -264,7 +264,8 @@
264264
<xsl:function name="wega:addCurrencySymbolIfNecessary" as="element(xhtml:span)?">
265265
<xsl:param name="measure" as="element(tei:measure)"/>
266266
<!-- Wenn kein Währungssymbol angegeben ist, setzen wir eins hinzu -->
267-
<xsl:if test="matches(normalize-space(string-join($measure/node() except $measure/tei:note, '')),'^\d+\.*$') and $measure/@quantity &gt; 0">
267+
<!-- Die Ausnahme $measure/tei:sic ist eingerichtet für A064109 -->
268+
<xsl:if test="matches(normalize-space(string-join($measure/node() except $measure/tei:note except $measure/tei:sic, '')),'^\d+\.*$') and $measure/@quantity &gt; 0">
268269
<xsl:element name="span">
269270
<xsl:attribute name="class" select="'suppliedCurrencySymbol'"/>
270271
<xsl:choose>

0 commit comments

Comments
 (0)