From d4550b7a4d64e9ff772cf3a7635cb4ca532fb340 Mon Sep 17 00:00:00 2001 From: Juergen Spitzmueller Date: Tue, 13 Dec 2016 07:50:08 +0100 Subject: [PATCH] Limit ligature protection to quote ligature chars Should also go to stable. --- 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 db1de0fd32..c538b88878 100644 --- a/src/insets/InsetQuotes.cpp +++ b/src/insets/InsetQuotes.cpp @@ -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, "{}"); } -- 2.39.2