mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-26 19:25:39 +00:00
Partial fix for bug #11586
Do not replace a latex command with the corresponding symbol in the unicodesymbols file unless it can be encoded in the document encoding.
This commit is contained in:
parent
c83765163f
commit
bda3b799c5
@ -2081,7 +2081,7 @@ bool Parser::parse1(InsetMathGrid & grid, unsigned flags,
|
||||
Encodings::MATH_CMD | Encodings::TEXT_CMD,
|
||||
is_combining, termination);
|
||||
}
|
||||
if (c) {
|
||||
if (c && buf->params().encoding().encodable(c)) {
|
||||
if (termination) {
|
||||
if (nextToken().cat() == catBegin) {
|
||||
getToken();
|
||||
|
Loading…
Reference in New Issue
Block a user