summaryrefslogtreecommitdiff
path: root/support/TeX4ht/source/tex4ht-html4.tex
diff options
context:
space:
mode:
Diffstat (limited to 'support/TeX4ht/source/tex4ht-html4.tex')
-rw-r--r--support/TeX4ht/source/tex4ht-html4.tex5
1 files changed, 4 insertions, 1 deletions
diff --git a/support/TeX4ht/source/tex4ht-html4.tex b/support/TeX4ht/source/tex4ht-html4.tex
index 9bf0a4bcab..62591b9ef9 100644
--- a/support/TeX4ht/source/tex4ht-html4.tex
+++ b/support/TeX4ht/source/tex4ht-html4.tex
@@ -1,4 +1,4 @@
-% $Id: tex4ht-html4.tex 944 2021-06-03 09:29:05Z michal_h21 $
+% $Id: tex4ht-html4.tex 946 2021-06-12 09:15:22Z michal_h21 $
% Compile 4 times: latex tex4ht-html4
% Copy html4.4ht into the work directory before all but the last compilation.
%
@@ -2805,7 +2805,10 @@ such a case, we don't have proper nestings of environments.
\<configure html4 latex\><<<
\Css{li p.indent { text-indent: 0em }}
\Css{li p:first-child{ margin-top:0em; }}
+\Css{li p:first-child{ margin-bottom; }}
\Css{li p:last-child, li div:last-child { margin-bottom:0.5em; }}
+% fix for <li> with only one paragraph
+\Css{li p:first-child{ margin-bottom:0; }}
\Css{li p\string ~ul:last-child,
li p\string ~ol:last-child{ margin-bottom:0.5em; }}
>>>