FYI;
This MWE compiles OK
--------------------------
\documentclass[12pt]{book}
\begin{document}
\chapter{1}
\section{1}
\subsection{1}
\subsubsection{my solution}
test
\end{document}
----------------------
Command used is
make4ht -ulm default -a debug index.tex 'mathjax,htm,5'
but this MWE, using same command, gives error
--------------------------
\documentclass[12pt]{book}
\begin{document}
\chapter{1}
\section{1}
\subsection{1}
\begin{minipage}{\textwidth}\raggedright
\subsubsection{my solution}
test
\end{minipage}
\end{document}
----------------------
It gives
-----------------------------------------
[INFO] make4ht-lib: parse_lg process file: insu1.htm
[WARNING] domfilter: XML DOM parsing of insu1.htm failed:
[WARNING] domfilter:
...ive/2024/texmf-dist/tex/luatex/luaxml/luaxml-mod-xml.lua:175: Unbalanced Tag
(/body) [char=1175]
[DEBUG] domfilter: Error context:
tm#insu1.htm" >up</a>] </p></div>
<!--l. 12--><p class="noindent" ><a
id="tailinsu1.htm"></a> </p>
</body>
</html>
[DEBUG] domfilter: Trying HTML DOM parsing
[WARNING] domfilter: HTML DOM parsing OK, DOM filters will be executed
[INFO] make4ht-lib: parse_lg process file: insu1.htm
[INFO] make4ht: No output directory
[INFO] make4ht-lib: parse_lg process file: insu2.htm
[INFO] make4ht-lib: parse_lg process file: insu2.htm
[WARNING] domfilter: XML DOM parsing of insu2.htm failed:
[WARNING] domfilter:
...ive/2024/texmf-dist/tex/luatex/luaxml/luaxml-mod-xml.lua:175: Unbalanced Tag
(/div) [char=940]
[DEBUG] domfilter: Error context:
t
</p></div>
<!--l. 12--><div class="crosslinks"><p class="noindent">[<a
href="insu2.htm" >front</a>] [<a
[DEBUG] domfilter: Trying HTML DOM parsing
[WARNING] domfilter: HTML DOM parsing OK, DOM filters will be executed
[INFO] make4ht-lib: parse_lg process file: insu2.htm
[INFO] make4ht: No output directory
[STATUS] make4ht: Conversion finished
---------------------------------------------
I used split 5 to show the error. When use split 4, there is no error.
But the point is, the domfilter error only shows up when wrapping
the subsubsection with minipage in tex4ht mode.
I did not mean to use minipage in tex4ht mode, as I only use
minipage in pdf mode.
But I noticed this when using minipage in tex4ht mode by mistake.
For now, I will remove the minipage around the subsection in tex4ht
mode. But I was wondering why domfilter error shows up
in this case.
Both versions compile OK to PDF with no errors.
TL 2024 on linux.
--Nasser