mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-21 05:04:00 +00:00
84d6565d52
libxslt 1.1.35 fixed conflict resolution for templates to match the specification. This uncovered a bug in docbook-xsl (https://github.com/docbook/xslt10-stylesheets/issues/240), which causes option names to be duplicated into the option descriptions. Let’s resolve the conflict by patching the stylesheets. Fixes: https://github.com/NixOS/nixpkgs/issues/166304
12 lines
385 B
Diff
12 lines
385 B
Diff
--- a/manpages/lists.xsl
|
|
+++ b/manpages/lists.xsl
|
|
@@ -110,7 +110,7 @@
|
|
<xsl:text>.RE </xsl:text>
|
|
</xsl:template>
|
|
|
|
-<xsl:template match="d:varlistentry/d:term"/>
|
|
+<xsl:template match="d:varlistentry/d:term" priority="1"/>
|
|
<xsl:template match="d:glossentry/d:glossterm"/>
|
|
|
|
<xsl:template match="d:variablelist[ancestor::d:listitem or ancestor::d:step or ancestor::d:glossdef]|
|