commit 526b6a4afc285ca65d8a2366b2043bfbdbe776de
Author: Juergen Spitzmueller <sp...@lyx.org>
Date:   Mon Dec 12 16:57:06 2016 +0100

    Correctly handle the " \\fg" case.
---
 src/insets/InsetQuotes.cpp |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/insets/InsetQuotes.cpp b/src/insets/InsetQuotes.cpp
index 53d2046..48e081a 100644
--- a/src/insets/InsetQuotes.cpp
+++ b/src/insets/InsetQuotes.cpp
@@ -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;
 }

Reply via email to