X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FBuffer.cpp;h=97a6cfbd31afe1e771034326ef982b37fff7a7fb;hb=294e4884ee29585d311177406cd31499e6d81877;hp=bfb0dbb33dfcf580f10864e223175af585d7c3ee;hpb=3883b85f49054c109cb8a9a293721a5e41edb68d;p=lyx.git diff --git a/src/Buffer.cpp b/src/Buffer.cpp index bfb0dbb33d..97a6cfbd31 100644 --- a/src/Buffer.cpp +++ b/src/Buffer.cpp @@ -2143,22 +2143,22 @@ Buffer::ExportStatus Buffer::writeDocBookSource(odocstream & os, XMLStream xs(os); if (output_preamble) { - // XML preamble, no doctype needed. + // XML preamble, no doctype needed. // Not using XMLStream for this, as the root tag would be in the tag stack and make troubles with the error // detection mechanisms (these are called before the end tag is output, and thus interact with the canary // parsep in output_docbook.cpp). - os << "\n" + os << "\n" << "\n"; // Directly output the root tag, based on the current type of document. - string languageCode = params().language->code(); + string languageCode = params().language->code(); string params = "xml:lang=\"" + languageCode + '"' + " xmlns=\"http://docbook.org/ns/docbook\"" + " xmlns:xlink=\"http://www.w3.org/1999/xlink\"" + " xmlns:m=\"http://www.w3.org/1998/Math/MathML\"" - + " xmlns:xi=\"http://www.w3.org/2001/XInclude\"" - + " version=\"5.2\""; + + " xmlns:xi=\"http://www.w3.org/2001/XInclude\"" + + " version=\"5.2\""; os << "<" << from_ascii(tclass.docbookroot()) << " " << from_ascii(params) << ">\n"; } @@ -2230,7 +2230,7 @@ Buffer::ExportStatus Buffer::writeLyXHTMLSource(odocstream & os, os << "