summaryrefslogtreecommitdiff
path: root/Documentation/manpage-base.xsl
diff options
context:
space:
mode:
authorChris Johnsen <chris_johnsen@pobox.com>2009-04-01 03:50:34 -0500
committerJunio C Hamano <gitster@pobox.com>2009-04-01 11:02:42 -0700
commit2346431e476ab9f095f0dd2921f63fa071039bb8 (patch)
tree9f2ea5dfd1a5fbae4bcae2e5f2ff6d89699696ca /Documentation/manpage-base.xsl
parent32786093108231ef7d9e403e90b239f67428c3dd (diff)
downloadgit-2346431e476ab9f095f0dd2921f63fa071039bb8.tar.gz
Documentation: use "spurious .sp" XSLT if DOCBOOK_SUPPRESS_SP is set
With this change, the "spurious .sp" suppression XSLT code is disabled by default. It can be enabled by defining DOCBOOK_SUPPRESS_SP. The "spurious .sp" XSLT fragment was used to work around a bug first released in docbook-xsl 1.69.1. Modern versions of docbook-xsl are negatively affected by the code (some empty lines are omitted from manpage output; see <http://article.gmane.org/gmane.comp.version-control.git/115302>). The key revisions in the docbook SVN repo seem to be 5144 (before docbook-xsl 1.69.1) and 6359 (before docbook-xsl 1.71.1). Testing done with asciidoc 8.3.1 and docbook-xsl 1.74.0. Signed-off-by: Chris Johnsen <chris_johnsen@pobox.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/manpage-base.xsl')
-rw-r--r--Documentation/manpage-base.xsl13
1 files changed, 0 insertions, 13 deletions
diff --git a/Documentation/manpage-base.xsl b/Documentation/manpage-base.xsl
index 16e2e40976..a264fa6160 100644
--- a/Documentation/manpage-base.xsl
+++ b/Documentation/manpage-base.xsl
@@ -32,17 +32,4 @@
<xsl:text>br&#10;</xsl:text>
</xsl:template>
-<!-- attempt to work around spurious .sp at the tail of the line
- that docbook stylesheets seem to add -->
-<xsl:template match="simpara">
- <xsl:variable name="content">
- <xsl:apply-templates/>
- </xsl:variable>
- <xsl:value-of select="normalize-space($content)"/>
- <xsl:if test="not(ancestor::authorblurb) and
- not(ancestor::personblurb)">
- <xsl:text>&#10;&#10;</xsl:text>
- </xsl:if>
-</xsl:template>
-
</xsl:stylesheet>