Skip to content

Commit

Permalink
Merge branch 'span-underline-escape' into scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
wrought committed May 18, 2014
2 parents 948da75 + b91e3d6 commit 6fb3135
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jats-to-mediawiki.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -310,7 +310,7 @@
<xsl:template match="break">&amp;#xA;</xsl:template>

<xsl:template match="underline">
<span style="text-decoration: underline;"><xsl:apply-templates/></span>
&amp;lt;span style="text-decoration: underline;"&amp;gt;<xsl:apply-templates/>&amp;lt;/span&amp;gt;
</xsl:template>
<xsl:template match="underline-start">
<!-- double-escape the entity refs so the resulting XML contains '&lt;' instead of '<' and therefore remains well-formed -->
Expand Down

0 comments on commit 6fb3135

Please sign in to comment.