mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 10:00:33 +00:00
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.
This commit is contained in:
parent
6fe499509a
commit
07dcb1c525
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user