[tex4ht] [bug #434] HTML mode is spewing some XML code

William F Hammond gellmu at gmail.com
Mon Aug 19 03:42:00 CEST 2019

Absent the availability of SGML or XML validation for HTML5, aside from a
"validator" at W3C,
one needs to know what will pass the major browsers.

The last time I checked:
In HTML 5 as "text/html"  use <hr /> (with space) to enable xml
well-formedness except in foreign name spaces such as MathML, where, for
example, one wants to use <mspace></mspace> instead of <mspace />.  (<hr>
is OK, but that breaks xml well-formedness.)

       -- Bill

On Sun, Aug 18, 2019 at 6:08 PM Karl Berry <karl at freefriends.org> wrote:

> Follow-up Comment #2, bug #434 (project tex4ht):
> I'm not sure about this, Michal. If it's only claiming to be "traditional"
> HTML, not XHTML or HTML5, those XML-ish statements actually break browsers
> and
> validation. I've tried to add <hr/> and the like to plain HTML before, and
> it
> didn't work out well.
>     _______________________________________________________
> Reply to this item at:
>   <http://puszcza.gnu.org.ua/bugs/?434>
> _______________________________________________
>   Message sent via/by Puszcza
>   http://puszcza.gnu.org.ua/

William F Hammond
Email: gellmu at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://tug.org/pipermail/tex4ht/attachments/20190818/1a4be639/attachment.html>

More information about the tex4ht mailing list