From: Bob Stayton Date: Sun, 9 Oct 2011 21:39:38 +0000 (+0000) Subject: The spacing="compact" attribute on lists in HTML no longer outputs compact="compact" X-Git-Tag: release/1.79.1~6^2~644 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=64839c2189f8a21efb370eab8d9c07f7d950c1f8;p=docbook-dsssl The spacing="compact" attribute on lists in HTML no longer outputs compact="compact" (or just "compact" in the case of Saxon 6), since that attribute is deprecated and improperly supported. Instead, the output uses a multiple class attribute such as class="orderedlist compact". Use CSS to style such lists without margin above. --- diff --git a/xsl/html/lists.xsl b/xsl/html/lists.xsl index 81558a916..0afbee302 100644 --- a/xsl/html/lists.xsl +++ b/xsl/html/lists.xsl @@ -15,6 +15,15 @@ + + + + + compact + + +
@@ -31,18 +40,15 @@ |processing-instruction()[not(preceding-sibling::listitem)]"/>
    - + + + - - - - - + + + + + compact + + + @@ -157,7 +172,9 @@ - + + +
      - + + + @@ -181,11 +200,6 @@ - - - - - + + + + + compact + + + @@ -302,6 +325,9 @@ |comment()[not(preceding-sibling::varlistentry)] |processing-instruction()[not(preceding-sibling::varlistentry)]"/>
    + + + @@ -336,6 +362,9 @@ |comment()[not(preceding-sibling::varlistentry)] |processing-instruction()[not(preceding-sibling::varlistentry)]"/>
    + + + +
    +