]> git.lyx.org Git - lyx.git/blobdiff - src/Buffer.cpp
Add 'dir="auto"' to the body tag for XHTML export. This should take
[lyx.git] / src / Buffer.cpp
index 888fb93d9b16a7dbc19f0186b02ed28e3c730f01..77ef949a5325715b8c5ee93cd5e683d04f951c68 100644 (file)
@@ -2152,7 +2152,7 @@ void Buffer::writeLyXHTMLSource(odocstream & os,
        if (output_body) {
                bool const output_body_tag = (output != IncludedFile);
                if (output_body_tag)
-                       os << "<body>\n";
+                       os << "<body dir=\"auto\">\n";
                XHTMLStream xs(os);
                if (output != IncludedFile)
                        // if we're an included file, the counters are in the master.