From 458f03b131a505bf666349f3c5bf0a1bebbd7ace Mon Sep 17 00:00:00 2001 From: Juergen Spitzmueller Date: Wed, 14 Dec 2016 09:07:43 +0100 Subject: [PATCH] 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 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/insets/InsetQuotes.cpp b/src/insets/InsetQuotes.cpp index 26a3d33e11..1274367950 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); -- 2.39.5