Hello,

This MWE, with latest update to TL 2025 gives domfilter error

---------------------------------
\documentclass[12pt]{article}
\usepackage{multicol}
\begin{document}

\begin{multicols}{2}
\tableofcontents
\end{multicols}

test

\section{A}
test

\section{B}
test
\end{document}
----------------

Compiled using

make4ht -ulm default -a debug  index.tex 'mathjax,htm,2'
...
[INFO]    make4ht-lib: parse_lg process file: inli1.htm
[WARNING] domfilter: XML DOM parsing of inli1.htm failed:
[WARNING] domfilter: 
...ive/2025/texmf-dist/tex/luatex/luaxml/luaxml-mod-xml.lua:175: Unbalanced Tag 
(/div) [char=1012]

[DEBUG]   domfilter: Error context:
A</a></span>
<br />   <span class="sectionToc" >2 <a
href="inse2.htm#x4-30002">B</a></span>
</div>
</div>
<!--l. 9--><p class="indent" >   test

</p>
<!--l. 11--><div class="crosslinks"><p clas
[DEBUG]   domfilter: Trying HTML DOM parsing
[WARNING] domfilter: HTML DOM parsing OK, DOM filters will be executed
....


If I remove the split 2, then no error shows. i.e.

make4ht -ulm default -a debug  index.tex 'mathjax,htm'

The strange thing, the web page looks OK. I just compiled
one with this setting

<https://www.12000.org/my_notes/faq/maple_history/index.htm>

But then why the DOM filters  when asking to split the web page?

Thanks
--Nasser

Reply via email to