mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
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.
This commit is contained in:
parent
44a7d2bc88
commit
da67bde61a
@ -2217,7 +2217,7 @@ Buffer::ExportStatus Buffer::writeLyXHTMLSource(odocstream & os,
|
|||||||
|
|
||||||
if (output_preamble) {
|
if (output_preamble) {
|
||||||
os << "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n"
|
os << "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n"
|
||||||
<< "<!DOCTYPE html>\n"
|
<< "<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.1 plus MathML 2.0//EN\" \"http://www.w3.org/Math/DTD/mathml2/xhtml-math11-f.dtd\">\n"
|
||||||
// FIXME Language should be set properly.
|
// FIXME Language should be set properly.
|
||||||
<< "<html xmlns=\"http://www.w3.org/1999/xhtml\">\n"
|
<< "<html xmlns=\"http://www.w3.org/1999/xhtml\">\n"
|
||||||
<< "<head>\n"
|
<< "<head>\n"
|
||||||
|
Loading…
Reference in New Issue
Block a user