mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-12 11:32:21 +00:00
Limit ligature protection to quote ligature chars
No status entry necessary (this is and emendment to an existing fix)
This commit is contained in:
parent
6c4c164531
commit
458f03b131
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user