[tex4ht] next bug: stack overflow from tabular environment + unbalanced HTML tag
Michal Hoftich
michal.h21 at gmail.com
Wed Mar 5 10:01:48 CET 2025
An extra paragraph is inserted at the beginning of the inline listings
inside the table. It doesn't happen in normal text. The attached config
file turns off paragraphs inside input listings, which should fix
the problem.
Best regards,
Michal
On Wed, Mar 5, 2025 at 7:57 AM Chet Murthy <murthy.chet at gmail.com> wrote:
>
> Here's the next bug I found (it actually came up in my previous bug
> isolation, but I skipped last it b/c references seemed more important).
>
> Synopsis: with index, listings, and a tabular environment, two problems:
>
> (1) [only a warning, but seems bad] malformed HTML: <code> ... <p> ...
> </code> .. </p> (viz. from sample.html):
>
> <code class="lstinline"><!--l. 17--><p class="noindent" ><span
> style="color:#000000">acc</span> </code> </p>
>
> [WARNING] domfilter: XML DOM parsing of sample.html failed:
> [WARNING] domfilter:
> .../Install/texmf-dist/tex/luatex/luaxml/luaxml-mod-xml.lua:175: Unbalanced
> Tag (/code) [char=1158]
>
> (2) stack-overflow: crashes the epub converter, so no epub generated
>
> [WARNING] domfilter: HTML DOM parsing OK, DOM filters will be executed
> ...nstall/texmf-dist/tex/luatex/luaxml/luaxml-domobject.lua:512: stack
> overflow
>
> =======
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://tug.org/pipermail/tex4ht/attachments/20250305/314e01cb/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: config.cfg
Type: application/octet-stream
Size: 1097 bytes
Desc: not available
URL: <https://tug.org/pipermail/tex4ht/attachments/20250305/314e01cb/attachment.obj>
More information about the tex4ht
mailing list.