]> git.lyx.org Git - features.git/blobdiff - src/Paragraph.cpp
Suppress babel RTL commands when using polyglossia (part of #8251)
[features.git] / src / Paragraph.cpp
index d93594a6783c20f2190e69bf68977f624942eba7..807abbde80c62b374a4c2312f672cad64fd95471 100644 (file)
@@ -1076,6 +1076,7 @@ void Paragraph::Private::latexInset(BufferParams const & bparams,
        odocstream::pos_type const len = os.os().tellp();
 
        if (inset->forceLTR()
+           && !runparams.use_polyglossia
            && running_font.isRightToLeft()
            // ERT is an exception, it should be output with no
            // decorations at all