Deprecate html4? #11336
silby
started this conversation in
Development
Deprecate html4?
#11336
Replies: 1 comment
-
|
We do aim to produce xhtml (also with html5 - polyglot html). But the writer tests include tests of writing raw HTML, which is just passed through -- including Note that HTML4 is also used for EPUB v2, so this would require deprecating that format. But EPUB v2 is still used, particularly for older e-readers. Hence I don't think the time is right to deprecate html4, but comments welcome. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
T.P.W.HTMLchecks if it's in HTML5 mode in a dozen-odd places. This isn't fantastic and it got more intrusive as recently as last year via #9905, that jgm acknowledged as "academic".I doubt that we're diligently checking up on the output of the
html4writer to see if it's still compatible with ancient browsers. Even browsers with deliberate limitations (e.g. Lynx, Dillo) support HTML5/the living standard to some extent, so-t html4isn't necessarily helping to serve that audience.And note that
html4is actually documented to produce XHTML 1.0 transitional; I'd be a little surprised if we're reliably producing valid XML. The way raw HTML is handled in Markdown means thattest/writer.html4doesn't parse as XML:So, I doubt we're serving very many people by maintaining the html4 writer, and if anyone is depending on it I doubt we are serving them particularly well.
Beta Was this translation helpful? Give feedback.
All reactions