summaryrefslogtreecommitdiff
path: root/support/TeX4ht/source/tex4ht-mathjax.tex
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2023-10-13 03:01:20 +0000
committerNorbert Preining <norbert@preining.info>2023-10-13 03:01:20 +0000
commit7c1335b7f300ea31a40bf83026d6b7d24d7bafc5 (patch)
tree604d78ca55746f28482b8e963bab887f56edc225 /support/TeX4ht/source/tex4ht-mathjax.tex
parent1598205ade1602e324b7fd8e5410d1389eae7416 (diff)
CTAN sync 202310130301
Diffstat (limited to 'support/TeX4ht/source/tex4ht-mathjax.tex')
-rw-r--r--support/TeX4ht/source/tex4ht-mathjax.tex6
1 files changed, 3 insertions, 3 deletions
diff --git a/support/TeX4ht/source/tex4ht-mathjax.tex b/support/TeX4ht/source/tex4ht-mathjax.tex
index 4a7c7b3366..a02f8d1c54 100644
--- a/support/TeX4ht/source/tex4ht-mathjax.tex
+++ b/support/TeX4ht/source/tex4ht-mathjax.tex
@@ -1,4 +1,4 @@
-% $Id: tex4ht-mathjax.tex 1302 2023-02-27 22:21:51Z karl $
+% $Id: tex4ht-mathjax.tex 1382 2023-10-12 12:52:53Z michal_h21 $
% compile: latex tex4ht-mathjax
%
% Copyright 2018-2023 TeX Users Group
@@ -59,14 +59,14 @@ We still use regula expressions to escape invalid XML characters to entities, so
\ExplSyntaxOn
\cs_new_protected:Npn \alteqtoks #1
{
- \tl_set:Nx \l_tmpa_tl {\detokenize{#1}}
+ \tl_set:Ne \l_tmpa_tl {\detokenize{#1}}
% % replace < > and & with xml entities
\regex_replace_all:nnN { \x{26} } { &amp; } \l_tmpa_tl
\regex_replace_all:nnN { \x{3C} } { &lt; } \l_tmpa_tl
\regex_replace_all:nnN { \x{3E} } { &gt; } \l_tmpa_tl
% replace \par command with blank lines
\regex_replace_all:nnN { \x{5C}par\b } {\x{A}\x{A}} \l_tmpa_tl
- \tl_set:Nx \l_tmpb_tl{ \l_tmpa_tl }
+ \tl_set:Ne \l_tmpb_tl{ \l_tmpa_tl }
\HCode{\l_tmpb_tl}
}
\ExplSyntaxOff