Limit ligature protection to quote ligature chars

No status entry necessary (this is and emendment to an existing fix)
This commit is contained in:
Juergen Spitzmueller 2016-12-14 09:07:43 +01:00
parent 6c4c164531
commit 458f03b131

View File

@ -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);