[tex4ht-commits] [SCM] tex4ht updated: r1229 - trunk/lit
Michal Hoftich
INVALID.NOREPLY at gnu.org.ua
Mon Oct 31 12:23:43 CET 2022
Author: michal_h21
Date: 2022-10-31 11:23:43 +0000 (Mon, 31 Oct 2022)
New Revision: 1229
Modified:
trunk/lit/ChangeLog
trunk/lit/tex4ht-4ht.tex
Log:
removed XML comment from \mintedinline
Modified: trunk/lit/ChangeLog
===================================================================
--- trunk/lit/ChangeLog 2022-10-30 14:11:35 UTC (rev 1228)
+++ trunk/lit/ChangeLog 2022-10-31 11:23:43 UTC (rev 1229)
@@ -1,3 +1,9 @@
+2022-10-31 Michal Hoftich <michal.h21 at gmail.com>
+
+ * tex4ht-4ht.tex (minted.4ht): don't insert comments in
+ \mintedinline, it can cause removal of HTML tags.
+ https://github.com/michal-h21/make4ht/issues/92
+
2022-10-30 Karl Berry <karl at freefriends.org>
* tex4ht-4ht.tex (cleveref.4ht),
Modified: trunk/lit/tex4ht-4ht.tex
===================================================================
--- trunk/lit/tex4ht-4ht.tex 2022-10-30 14:11:35 UTC (rev 1228)
+++ trunk/lit/tex4ht-4ht.tex 2022-10-31 11:23:43 UTC (rev 1229)
@@ -25317,7 +25317,10 @@
\NewConfigure{InlineCode}{2}
% this is a hack to hide a newline that is produced, and which causes spurious space in the output
\NewConfigure{MintedHideNewline}{2}
-\Configure{MintedHideNewline}{\HCode{<!--}}{\HCode{-->}}
+% I cannot reproduce the newline issue now, but it seems that
+% this comment can hide desired tags sometimes, so we should disable it.
+% See https://github.com/michal-h21/make4ht/issues/92
+%\Configure{MintedHideNewline}{\HCode{<!--}}{\HCode{-->}}
\def\:tempa#1{%
\endgroup%
More information about the tex4ht-commits
mailing list.