Something seems to have changed in tex4ht. I am using TL 2025, installed fresh one week ago on new Linux
Found that Adding array package, causes tex4ht to clopper all content of table cell, ignoring new lines, even though cell has p column specs.
Also, adding colortbl package does the same thing.
Also, adding makecell package does the same thing.
This makes it very hard to read the tables now, since content loses new lines.
This did not used to be like this before, else I would have noticed it. This seems to be recent change?
Here is a MWE.
\documentclass[12pt]{book} \usepackage{longtable} %Adding ANY one of these will cause tex4ht to lose newlines %this \usepackage{array} %OR %\usepackage{makecell} %OR %\usepackage{xcolor} %\usepackage{colortbl} \begin{document} \begin{longtable}[c]{|p{1in}|p{3in}|p{.5in}|p{.7in}|p{.7in}|}\hline date/time & summary of changes & number problems & not solved & solved but not verified \\\hline %%%%%%%%%%%%%%%% Sunday July,27 2025. 9PM& line here line here line here &20,151& 1046\newline 5.198\% & NA \\ \hline \end{longtable} \end{document} \end{document} Compiling with lualatex gives
Compiling with tex4ht
make4ht -ulm default -a debug foo.tex "mathjax,htm" gives
Notice how all the new lines are gone. Removing the array package and recompiling now gives this
Adding colortbl or makecell causes same problem.
So for now, I have removed all these packages when compiling with tex4ht.
Why adding array package or adding colortbl package or adding makecell package causes newlines to be ignored in tex4ht?
Reference tex4ht tracking 663



