diff options
author | Andreas Heinisch <andreas.heinisch@yahoo.de> | 2021-08-12 10:48:46 +0200 |
---|---|---|
committer | Andreas Heinisch <andreas.heinisch@yahoo.de> | 2021-08-16 18:36:57 +0200 |
commit | 821d2f8c058f7b7f45e23203d98aa9237289e265 (patch) | |
tree | fedc5435c05c08728888510a87c3a27358c0bca7 /include/svtools | |
parent | 4ecb94da9fdd00f24b02020151ac4d27d5514d5f (diff) |
tdf#126879 - Drop obsolete DOCTYPE HTML 4.0
and use the HTML5 DOCTYPE declaration
Change-Id: I00a769f2c8da876fd9435343c72f4d7685bc0cb3
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/120378
Tested-by: Jenkins
Reviewed-by: Andreas Heinisch <andreas.heinisch@yahoo.de>
Diffstat (limited to 'include/svtools')
-rw-r--r-- | include/svtools/htmlkywd.hxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/svtools/htmlkywd.hxx b/include/svtools/htmlkywd.hxx index 24133bd159cd..5d6b7e629fe7 100644 --- a/include/svtools/htmlkywd.hxx +++ b/include/svtools/htmlkywd.hxx @@ -21,7 +21,8 @@ #include <sal/config.h> -#define OOO_STRING_SVTOOLS_HTML_doctype40 "HTML PUBLIC \"-//W3C//DTD HTML 4.0 Transitional//EN\"" +// tdf#126879 - drop obsolete DOCTYPE HTML 4.0 and use the HTML5 DOCTYPE declaration +#define OOO_STRING_SVTOOLS_HTML_doctype5 "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\"" |