Remove template rule conflict for text nodes

fix #14
This commit is contained in:
Evan Lenz 2022-08-23 10:37:15 -07:00
parent 882c17b898
commit d87190a3b1

View File

@ -426,7 +426,7 @@
<xsl:copy/> <xsl:copy/>
</xsl:template> </xsl:template>
<xsl:template match="node()" mode="annotation"> <xsl:template match="*" mode="annotation">
<xsl:param name="highlight" select="false()"/> <xsl:param name="highlight" select="false()"/>
<xsl:element name="{name(.)}"> <xsl:element name="{name(.)}">