Limit ligature protection to quote ligature chars

Should also go to stable.
This commit is contained in:
Juergen Spitzmueller 2016-12-13 07:50:08 +01:00
parent a5ebabbb99
commit d4550b7a4d

View 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, "{}");
}