]> git.lyx.org Git - features.git/commitdiff
Fix bug #8160 by updating the dtd for MathML.
authorRichard Heck <rgheck@lyx.org>
Tue, 10 Jul 2012 22:07:07 +0000 (18:07 -0400)
committerRichard Heck <rgheck@lyx.org>
Tue, 10 Jul 2012 22:08:40 +0000 (18:08 -0400)
(cherry picked from commit 5400ae072001b94e2428bbd6eb7e1aa3900ef190)

src/Buffer.cpp
status.20x

index 1840c391cc1487321353058076342cdf5a918697..0b4679d85c8b7ad59e0cf6ac4841734946308c04 100644 (file)
@@ -1743,7 +1743,7 @@ void Buffer::writeLyXHTMLSource(odocstream & os,
 
        if (output_preamble) {
                os << "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n"
-                  << "<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.1 plus MathML 2.0//EN\" \"http://www.w3.org/TR/MathML2/dtd/xhtml-math11-f.dtd\">\n"
+                  << "<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.1 plus MathML 2.0//EN\" \"http://www.w3.org/TR/2001/REC-MathML2-20010221/dtd/xhtml-math11-f.dtd\">\n"
                   // FIXME Language should be set properly.
                   << "<html xmlns=\"http://www.w3.org/1999/xhtml\">\n"
                   << "<head>\n"
index 2f3672902a1b6689f069c4b1c001b05bacdcffa3..54d1ff345345b469c7e8bc05ef690172c615b949 100644 (file)
@@ -76,6 +76,8 @@ What's new
 - Fixed the layout file for scientific articles published by the American
   Psychological Association (APA) (bug 8187). 
 
+- Write correct DTD for MathML (bug #8160).
+
 
 * USER INTERFACE