[tex4ht-commits] [SCM] tex4ht updated: r1021 - trunk/lit
Michal Hoftich
INVALID.NOREPLY at gnu.org.ua
Wed Dec 1 23:49:07 CET 2021
Author: michal_h21
Date: 2021-12-01 22:49:07 +0000 (Wed, 01 Dec 2021)
New Revision: 1021
Modified:
trunk/lit/ChangeLog
trunk/lit/tex4ht-mathjax.tex
Log:
fixed regex for \par replacing
Modified: trunk/lit/ChangeLog
===================================================================
--- trunk/lit/ChangeLog 2021-11-30 14:23:44 UTC (rev 1020)
+++ trunk/lit/ChangeLog 2021-12-01 22:49:07 UTC (rev 1021)
@@ -1,3 +1,8 @@
+2021-12-01 Michal Hoftich <michal.h21 at gmail.com>
+
+ * tex4ht-mathjax.tex (mathjax-latex-4ht.4ht): search for \par<space> in
+ regex that replaces \par commands.
+
2021-11-30 Michal Hoftich <michal.h21 at gmail.com>
* tex4ht-mathml.tex (mathml.4ht): use numerical entity instead of named
Modified: trunk/lit/tex4ht-mathjax.tex
===================================================================
--- trunk/lit/tex4ht-mathjax.tex 2021-11-30 14:23:44 UTC (rev 1020)
+++ trunk/lit/tex4ht-mathjax.tex 2021-12-01 22:49:07 UTC (rev 1021)
@@ -63,7 +63,7 @@
\regex_replace_all:nnN { \x{3C} } { < } \l_tmpa_tl
\regex_replace_all:nnN { \x{3E} } { > } \l_tmpa_tl
% replace \par command with blank lines
- \regex_replace_all:nnN { \x{5C}par } {\x{A}\x{A}} \l_tmpa_tl
+ \regex_replace_all:nnN { \x{5C}par\s } {\x{A}\x{A}} \l_tmpa_tl
\tl_set:Nx \l_tmpb_tl{ \l_tmpa_tl }
\HCode{\l_tmpb_tl}
}
More information about the tex4ht-commits
mailing list.