From: Michael Smith <xmldoc@users.sourceforge.net>
Date: Wed, 5 Apr 2006 09:03:34 +0000 (+0000)
Subject: Added template for matching Span; noticed problems with span
X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8f1f6263d6d9704d0976e431937fae80cf4b7506;p=docbook-dsssl

Added template for matching Span; noticed problems with span
instances appearing as-is output, possibly as a side-effect of
failed Olink processing -- so we need to catch it before it
sneaks through.
---

diff --git a/xsl/manpages/inline.xsl b/xsl/manpages/inline.xsl
index 078a07392..75edf9877 100644
--- a/xsl/manpages/inline.xsl
+++ b/xsl/manpages/inline.xsl
@@ -146,4 +146,10 @@
   </xsl:choose>
 </xsl:template>
 
+<!-- * span in seems to sneak through into output sometimes, possibly due -->
+<!-- * to failed Olink processing; so we need to catch it -->
+<xsl:template match="span">
+  <xsl:apply-templates/>
+</xsl:template>
+
 </xsl:stylesheet>