From 07dcb1c525435c6f22de4314ba31150c53502429 Mon Sep 17 00:00:00 2001 From: Richard Heck Date: Sun, 31 Jul 2016 02:52:30 -0400 Subject: [PATCH] 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. --- src/Buffer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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.