commit 458f03b131a505bf666349f3c5bf0a1bebbd7ace
Author: Juergen Spitzmueller <[email protected]>
Date:   Wed Dec 14 09:07:43 2016 +0100

    Limit ligature protection to quote ligature chars
    
    No status entry necessary (this is and emendment to an existing fix)
---
 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 26a3d33..1274367 100644
--- a/src/insets/InsetQuotes.cpp
+++ b/src/insets/InsetQuotes.cpp
@@ -296,7 +296,7 @@ void InsetQuotes::latex(otexstream & os, OutputParams const 
& runparams) const
                if (lastchar == '!' || lastchar == '?')
                        qstr.insert(0, "{}");
        }
-       if (qstr[1] == lastchar)
+       if (contains(from_ascii(",'`<>"), lastchar) && qstr[0] == lastchar)
                qstr.insert(0, "{}");
 
        os << from_ascii(qstr);

Reply via email to