Skip to content

Commit

Permalink
Added normalize-space to gloss value
Browse files Browse the repository at this point in the history
  • Loading branch information
GusRiva committed Dec 12, 2024
1 parent e99b32b commit ad8fecd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion odds/odd2lite.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -586,7 +586,7 @@ of this software, even if advised of the possibility of such damage.
</xsl:if>

<xsl:copy-of select="@xml:lang"/>
<xsl:value-of select="."/>
<xsl:value-of select="normalize-space(.)"/>
</seg>
</xsl:template>

Expand Down
2 changes: 1 addition & 1 deletion odds/teiodds.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -2470,7 +2470,7 @@ of this software, even if advised of the possibility of such damage.
</xsl:template>

<xsl:template match="tei:gloss" mode="inLanguage">
<xsl:value-of select="."/>
<xsl:value-of select="normalize-space(.)"/>
</xsl:template>
<xsl:template match="tei:desc" mode="inLanguage">
<xsl:apply-templates/>
Expand Down

0 comments on commit ad8fecd

Please sign in to comment.