]> granicus.if.org Git - docbook-dsssl/commitdiff
Rolled back some over-aggressive line-break cleanup, and removed
authorMichael Smith <xmldoc@users.sourceforge.net>
Mon, 23 May 2005 13:59:11 +0000 (13:59 +0000)
committerMichael Smith <xmldoc@users.sourceforge.net>
Mon, 23 May 2005 13:59:11 +0000 (13:59 +0000)
space-normalizing call in group|arg template because it causes
<sbr/> to be handled incorrectly.

xsl/manpages/synop.xsl

index 4910f7a3e50fc462c58be98fd82af9b205402c4c..d4562810a24dce12784396451cb8c07b8ff9e357 100644 (file)
@@ -54,7 +54,7 @@
       </xsl:call-template>
     </xsl:when>
     <xsl:otherwise>
-      <xsl:value-of select="normalize-space($arg)"/>
+      <xsl:value-of select="$arg"/>
     </xsl:otherwise>
   </xsl:choose>
   <xsl:choose>
 </xsl:template>
 
 <xsl:template match="sbr">
+  <xsl:text>&#10;</xsl:text>
   <xsl:text>.br&#10;</xsl:text>
 </xsl:template>
 
   <xsl:value-of select="string-length (normalize-space (command)) + 1"/>
   <xsl:text>&#10;</xsl:text>
   <xsl:apply-templates/>
+  <xsl:text>&#10;</xsl:text>
   <xsl:text>.ad&#10;.hy&#10;</xsl:text>
 </xsl:template>
 
 <xsl:template match="funcsynopsisinfo">
   <xsl:text>&#10;</xsl:text>
   <xsl:apply-templates/>
+  <xsl:text>&#10;</xsl:text>
   <xsl:text>.sp&#10;</xsl:text>
 </xsl:template>