The branch, 2.0.x, has been updated.

- Log -----------------------------------------------------------------

commit 55fb01c7bbf796d76cad28d9d512c8c0ca1d7ecf
Author: Richard Heck <[email protected]>
Date:   Tue Jul 10 18:07:07 2012 -0400

    Fix bug #8160 by updating the dtd for MathML.
    (cherry picked from commit 5400ae072001b94e2428bbd6eb7e1aa3900ef190)

diff --git a/src/Buffer.cpp b/src/Buffer.cpp
index 1840c39..0b4679d 100644
--- a/src/Buffer.cpp
+++ b/src/Buffer.cpp
@@ -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"
diff --git a/status.20x b/status.20x
index 2f36729..54d1ff3 100644
--- a/status.20x
+++ b/status.20x
@@ -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
 

-----------------------------------------------------------------------

Summary of changes:
 src/Buffer.cpp |    2 +-
 status.20x     |    2 ++
 2 files changed, 3 insertions(+), 1 deletions(-)


hooks/post-receive
-- 
The LyX Source Repository

Reply via email to