diff options
author | CoprDistGit <infra@openeuler.org> | 2023-10-23 07:28:03 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2023-10-23 07:28:03 +0000 |
commit | 1199717ef9754096dc75773e33de4a9bcf296442 (patch) | |
tree | 0e7d133dfd280f325d6badf01084207382fae2a6 /docs-Fix-template-matching-in-page.xsl.patch | |
parent | 08508c844354c253ba0c66b483e81382e04113d0 (diff) |
automatic import of libvirtopeneuler22.03_LTS
Diffstat (limited to 'docs-Fix-template-matching-in-page.xsl.patch')
-rw-r--r-- | docs-Fix-template-matching-in-page.xsl.patch | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/docs-Fix-template-matching-in-page.xsl.patch b/docs-Fix-template-matching-in-page.xsl.patch new file mode 100644 index 0000000..647f53b --- /dev/null +++ b/docs-Fix-template-matching-in-page.xsl.patch @@ -0,0 +1,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" /> |