]> git.lyx.org Git - features.git/commitdiff
Correctly handle the " \\fg" case.
authorJuergen Spitzmueller <spitz@lyx.org>
Mon, 12 Dec 2016 15:57:06 +0000 (16:57 +0100)
committerJuergen Spitzmueller <spitz@lyx.org>
Mon, 12 Dec 2016 15:57:06 +0000 (16:57 +0100)
src/insets/InsetQuotes.cpp

index 53d204616dfe9cd78ce2d56511f10dc8a1e05bfe..48e081a61042184e20a78ddd487bf073a2bcac2c 100644 (file)
@@ -303,7 +303,7 @@ void InsetQuotes::latex(otexstream & os, OutputParams const & runparams) const
 
        os << from_ascii(qstr);
        
-       if (prefixIs(qstr, "\\"))
+       if (prefixIs(qstr, "\\") || prefixIs(qstr, " \\"))
                // properly terminate the command depending on the context
                os << termcmd;
 }