Follow-up Comment #2, bug #315 (project tex4ht): I noticed that with newer a tex4ht version (version 2024-09-30-13:40 of longtable.4ht, packaged as dev-tex/tex4ht-20240311_p72882 in Gentoo) the html output is invalid again, regardless of the number of runs.
Processing bug.tex (file #248) with "mk4ht xhlatex bug" basically results in: <tr ...><td ...><caption ...>...</caption></td></tr> which is invalid because the caption element must not be in a table cell. tidy (from https://www.html-tidy.org/) complains: $ tidy -q -errors bug.html line 30 column 14 - Warning: <caption> isn't allowed in <tr> elements line 30 column 41 - Warning: <span> isn't allowed in <tr> elements line 30 column 88 - Warning: <span> isn't allowed in <tr> elements line 30 column 128 - Warning: discarding unexpected </caption> line 30 column 138 - Warning: discarding unexpected </td> line 18 column 39 - Warning: <table> lacks "summary" attribute I am attaching the new output as bug-20240930.html (file #566) _______________________________________________________ Additional Item Attachment: File name: bug-20240930.html Size:2 KB _______________________________________________________ Reply to this item at: <https://puszcza.gnu.org.ua/bugs/?315> _______________________________________________ Message sent via/by Puszcza <https://puszcza.gnu.org.ua/>
