Fix bug #8160 by updating the dtd for MathML.

(cherry picked from commit 5400ae0720)
This commit is contained in:
Richard Heck 2012-07-10 18:07:07 -04:00
parent 23b7048bab
commit 55fb01c7bb
2 changed files with 3 additions and 1 deletions

View File

@ -1743,7 +1743,7 @@ void 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 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. // 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"

View File

@ -76,6 +76,8 @@ What's new
- Fixed the layout file for scientific articles published by the American - Fixed the layout file for scientific articles published by the American
Psychological Association (APA) (bug 8187). Psychological Association (APA) (bug 8187).
- Write correct DTD for MathML (bug #8160).
* USER INTERFACE * USER INTERFACE