]> granicus.if.org Git - docbook-dsssl/commitdiff
Added newline before .sp request in template that matches
authorMichael Smith <xmldoc@users.sourceforge.net>
Wed, 5 Apr 2006 09:26:34 +0000 (09:26 +0000)
committerMichael Smith <xmldoc@users.sourceforge.net>
Wed, 5 Apr 2006 09:26:34 +0000 (09:26 +0000)
verbatims, because in some cases the .sp was appearing as a
literal in output, because it was getting output inline without a
break before it.

xsl/manpages/block.xsl

index 6cfef09832c3f2fef3959ef9f96df0febeda97ef..a880794499c39be61df89335c87940106ea459a4 100644 (file)
@@ -71,6 +71,7 @@
     <xsl:when test="parent::caption|parent::entry|parent::para|
                     parent::td|parent::th" /> <!-- do nothing -->
     <xsl:otherwise>
+      <xsl:text>&#10;</xsl:text>
       <xsl:text>.sp&#10;</xsl:text>
     </xsl:otherwise>
   </xsl:choose>