[tex4ht-commits] [SCM] tex4ht updated: r1606 - trunk/lit

Michal Hoftich INVALID.NOREPLY at gnu.org.ua
Sun Dec 1 21:54:15 CET 2024


Author: michal_h21
Date: 2024-12-01 20:54:15 +0000 (Sun, 01 Dec 2024)
New Revision: 1606

Modified:
   trunk/lit/ChangeLog
   trunk/lit/tex4ht-html4.tex
Log:
don't add extra paragraphs with itemize+

Modified: trunk/lit/ChangeLog
===================================================================
--- trunk/lit/ChangeLog	2024-11-28 14:57:28 UTC (rev 1605)
+++ trunk/lit/ChangeLog	2024-12-01 20:54:15 UTC (rev 1606)
@@ -1,3 +1,9 @@
+2024-12-01  Michal Hoftich  <michal.h21 at gmail.com>
+
+	* tex4ht-html4.tex (html4.4ht): don't add extra paragraphs with the
+	"itemize+" option.
+	https://tex.stackexchange.com/a/722062/2891
+
 2024-11-28  Michal Hoftich  <michal.h21 at gmail.com>
 
 	* tex4ht-4ht.tex (metalogo.4ht): fixed rendering of \XeTeX and

Modified: trunk/lit/tex4ht-html4.tex
===================================================================
--- trunk/lit/tex4ht-html4.tex	2024-11-28 14:57:28 UTC (rev 1605)
+++ trunk/lit/tex4ht-html4.tex	2024-12-01 20:54:15 UTC (rev 1606)
@@ -2960,8 +2960,8 @@
        |<save end:itm|>\global\let\end:itm=\empty}
    {|<recall end:itm|>\ifvmode \IgnorePar\fi 
     \EndP\HCode{</li></ul>}\ShowPar}
-   {\end:itm \global\def\end:itm{\EndP\Tg</li>}\HCode{<li class="\getClass{li}itemize"><span class="itemizeHead" aria-hidden="true">}\afterGetClass{li}}
-   {\HCode{</span>}|<list par|>}
+  {\end:itm \global\def\end:itm{\EndP\Tg</li>}\HCode{<li class="\getClass{li}itemize">}|<list par|>\HCode{<span class="itemizeHead" aria-hidden="true">}\afterGetClass{li}}
+   {\HCode{</span>}}
 \Css{.itemizeHead{float: left; margin-left: -1em; width: 1em;}}
 \Css{li.itemize{list-style: none;}}
 \fi



More information about the tex4ht-commits mailing list.