summaryrefslogtreecommitdiff
path: root/docs-Fix-template-matching-in-page.xsl.patch
blob: 647f53bf9fda6617b04e6956332490032b8c2496 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
diff --git a/docs/page.xsl b/docs/page.xsl
index 5cb4322..121a689 100644
--- a/docs/page.xsl
+++ b/docs/page.xsl
@@ -209,11 +209,11 @@
     </xsl:element>
   </xsl:template>
 
-  <xsl:template match="text()" mode="copy">
+  <xsl:template match="text()" mode="copy" priority="0">
     <xsl:value-of select="."/>
   </xsl:template>
 
-  <xsl:template match="node()" mode="copy">
+  <xsl:template match="*" mode="copy">
     <xsl:element name="{name()}">
       <xsl:copy-of select="./@*"/>
       <xsl:apply-templates mode="copy" />