Skip to content

Commit 057b69e

Browse files
Merge pull request #797 from rvdb/jTEI-egSplitLongAttributeValues
jTEI: split long attribute values inside eg:egXML
2 parents 1615918 + a4ae84d commit 057b69e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

profiles/jtei/jtei.common.xsl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,7 @@
244244
</seg>
245245
<seg type="abstract.egXML.attribute.value">
246246
<xsl:text>="</xsl:text>
247-
<xsl:value-of select="local:escapeEntitiesForEgXMLAttribute(.)"/>
247+
<xsl:value-of select="replace(., '&amp;(\S)', '&#8203;&amp;$1') ! local:escapeEntitiesForEgXMLAttribute(.)"/>
248248
<xsl:text>"</xsl:text>
249249
</seg>
250250
</xsl:for-each>

0 commit comments

Comments
 (0)