[Libreoffice-bugs] [Bug 126879] HTML-Export: Doctype doesn't coincide with end of Standalone-Tag
bugzilla-daemon at bugs.documentfoundation.org
bugzilla-daemon at bugs.documentfoundation.org
Thu Aug 12 06:25:40 UTC 2021
https://bugs.documentfoundation.org/show_bug.cgi?id=126879
--- Comment #4 from Robert Großkopf <robert at familiegrosskopf.de> ---
(In reply to Andreas Heinisch from comment #3)
> The definitions currently in use are the following:
>
> #define OOO_STRING_SVTOOLS_HTML_doctype40
"HTML PUBLIC \"-//W3C//DTD HTML 4.0 Transitional//EN\"
has to be replaced by
"html\"
> #define OOO_STRING_SVTOOLS_XHTML_doctype11
> \
> "html PUBLIC \"-//W3C//DTD XHTML 1.1 plus MathML 2.0//EN\" "
> \
> "\"http://www.w3.org/Math/DTD/mathml2/xhtml-math11-f.dtd\""
>
> Are these both obsolete now?
Don't know.
See https://lists.w3.org/Archives/Public/www-math/2003Jun/0041.html
Seems it sometimes it better not using a doctype at all because the browser
would try to fetch the whole DTD
I have only seen the difference between HTML4 and HTML5. And the declaration of
HTML4 and standalone tags like <br/> is a bug.
The other doctypes are for xhtml-files and works well here.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20210812/61277750/attachment.htm>
More information about the Libreoffice-bugs
mailing list