]> git.lyx.org Git - features.git/commitdiff
Update system identifier in DOCTYPE of MathML-including exported XHTML.
authorJosh Hieronymus <josh.p.hieronymus@gmail.com>
Fri, 19 Jul 2013 11:31:16 +0000 (07:31 -0400)
committerRichard Heck <rgheck@lyx.org>
Fri, 19 Jul 2013 13:45:10 +0000 (09:45 -0400)
From Josh Hieronymous.

(cherry picked from commit 4f0c81937537ca3bf92097e266d367290d6419a9)

src/Buffer.cpp

index 6a3581e6419094a864d86a6825a3375cda710eb5..394e12d993624c98fbceea67c6fde251c2b90679 100644 (file)
@@ -1868,7 +1868,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/2001/REC-MathML2-20010221/dtd/xhtml-math11-f.dtd\">\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.
                   << "<html xmlns=\"http://www.w3.org/1999/xhtml\">\n"
                   << "<head>\n"