From: Thibaut Cuvelier Date: Sat, 19 Sep 2020 23:35:14 +0000 (+0200) Subject: Revert "XHTML: remove DOCTYPE, as the document is then understood as HTML4/XHTML1... X-Git-Tag: lyx-2.4.0dev-acb2ca7b~179 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=da67bde61af;p=features.git Revert "XHTML: remove DOCTYPE, as the document is then understood as HTML4/XHTML1, and not XHTML5." This reverts commit c8e2c17a: this makes some browsers unable to understand basic HTML entities. --- diff --git a/src/Buffer.cpp b/src/Buffer.cpp index 0cf87defb7..2ef5768771 100644 --- a/src/Buffer.cpp +++ b/src/Buffer.cpp @@ -2217,7 +2217,7 @@ Buffer::ExportStatus Buffer::writeLyXHTMLSource(odocstream & os, if (output_preamble) { os << "\n" - << "\n" + << "\n" // FIXME Language should be set properly. << "\n" << "\n"