From: Richard Heck Date: Sun, 31 Jul 2016 06:52:30 +0000 (-0400) Subject: Add 'dir="auto"' to the body tag for XHTML export. This should take X-Git-Tag: 2.3.0alpha1~1179 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=07dcb1c525435c6f22de4314ba31150c53502429;p=features.git Add 'dir="auto"' to the body tag for XHTML export. This should take care of much of what we need to do for RTL languages. It does not take care of inline language changes, probably. --- diff --git a/src/Buffer.cpp b/src/Buffer.cpp index 888fb93d9b..77ef949a53 100644 --- a/src/Buffer.cpp +++ b/src/Buffer.cpp @@ -2152,7 +2152,7 @@ void Buffer::writeLyXHTMLSource(odocstream & os, if (output_body) { bool const output_body_tag = (output != IncludedFile); if (output_body_tag) - os << "\n"; + os << "\n"; XHTMLStream xs(os); if (output != IncludedFile) // if we're an included file, the counters are in the master.