]> git.lyx.org Git - features.git/blobdiff - src/insets/InsetQuotes.cpp
Limit ligature protection to quote ligature chars
[features.git] / src / insets / InsetQuotes.cpp
index db1de0fd324a5758b34b18bae903a9cc2dba872e..c538b88878638004396eb0120765054d3ef3dc93 100644 (file)
@@ -310,7 +310,7 @@ void InsetQuotes::latex(otexstream & os, OutputParams const & runparams) const
                        if (lastchar == '!' || lastchar == '?')
                                qstr.insert(0, "{}");
                }
-               if (qstr[0] == lastchar)
+               if (contains(from_ascii(",'`<>"), lastchar) && qstr[0] == lastchar)
                        qstr.insert(0, "{}");
        }