]> granicus.if.org Git - docbook-dsssl/commitdiff
Revert change for tracker #1008804 (command in cmdsynopsis is not indented)
authorMichael Smith <xmldoc@users.sourceforge.net>
Tue, 9 Nov 2004 11:50:06 +0000 (11:50 +0000)
committerMichael Smith <xmldoc@users.sourceforge.net>
Tue, 9 Nov 2004 11:50:06 +0000 (11:50 +0000)
Will re-implement (correctly) for next release.

xsl/html/synop.xsl

index 05eb67a482cea9f4a680681aa5b01e76e4387414..f85b5320cdc6dfe7885e7338052d82cc2bfc3155 100644 (file)
 <!-- ==================================================================== -->
 
 <xsl:template match="cmdsynopsis">
-  <div class="{name(.)}" style="font-family: monospace; clear: both; margin-top: 1em;">
-    <xsl:call-template name="anchor"/>
-    <span style="float: left; text-align: left;">
-      <xsl:apply-templates select="command"/>
-    </span>
-    <span style="float: left; text-align: left; padding-left: .5em">
-      <xsl:apply-templates select="command/following-sibling::node()"/>
-    </span>
+  <div class="{name(.)}">
+    <p>
+      <xsl:call-template name="anchor"/>
+      <xsl:apply-templates/>
+    </p>
   </div>
-  <br style="clear: both;"/>
 </xsl:template>
 
 <xsl:template match="cmdsynopsis/command">