1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-22 06:37:59 +01:00

Fix XML highlighting issue.

This commit is contained in:
Kris Maglione
2011-10-03 19:18:43 -04:00
parent 48212b7392
commit b19375d109

View File

@@ -536,13 +536,16 @@
</xsl:template>
<xsl:template match="dactyl:xml-block" mode="help-2">
<div dactyl:highlight="HelpXMLBlock">
<xsl:call-template name="xml-highlight"/>
<xsl:apply-templates mode="xml-highlight"/>
</div>
</xsl:template>
<xsl:template match="dactyl:xml-highlight" mode="help-2">
<xsl:call-template name="xml-highlight"/>
<div dactyl:highlight="HelpXMLBlock">
<xsl:apply-templates mode="xml-highlight"/>
</div>
</xsl:template>
<!-- Plugins {{{1 -->
<xsl:template name="info">
@@ -621,12 +624,6 @@
</xsl:template>
<!-- XML Highlighting (xsl:import doesn't work in Firefox 3.x) {{{1 -->
<xsl:template name="xml-highlight">
<div dactyl:highlight="HelpXML">
<xsl:apply-templates mode="xml-highlight"/>
</div>
</xsl:template>
<xsl:template name="xml-namespace">
<xsl:param name="node" select="."/>
<xsl:if test="name($node) != local-name($node)">