https://bugs.documentfoundation.org/show_bug.cgi?id=126879
Bug ID: 126879
Summary: HTML-Export: Doctype doesn't coincide with end of
Standalone-Tag
Product: LibreOffice
Version: 6.3.0.4 release
Hardware: x86-64 (AMD64)
OS: Linux (All)
Status: UNCONFIRMED
Severity: normal
Priority: medium
Component: filters and storage
Assignee: libreoffice-bugs@lists.freedesktop.org
Reporter: rob...@familiegrosskopf.de
Open a empty writer page.
Save it as "HTML".
Have a look at the HTML-code.
It will look like this:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<meta http-equiv="content-type" content="text/html; charset=utf-8"/>
<meta name="generator" content="LibreOffice 6.3.0.4 (Linux)"/>
<br/>
There is a DOCTYPE HTML 4.0 (which is obsolete since 1999!) and every
standalone tag ends with "/>", which is only allowed with HTML5 or XHTML.
Two possible solutions:
1) Set <!DOCTYPE html> instead of the very old DOCTYPE. It will set the
document to HTML5.
2) Remove all frontslashes followed by ">".
I would prefer to go forward, not back to 1999!
All tested with LO 6.3.0.4 (see above), OpenSUSE 15 64bit rpm Linux.
--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs