mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
* correct parsing of unknown math environment (fixes http://bugzilla.lyx.org/show_bug.cgi?id=4573)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23139 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
21489f6a29
commit
90a88ba87d
@ -1266,7 +1266,7 @@ void Parser::parse1(InsetMathGrid & grid, unsigned flags,
|
||||
<< to_utf8(l->inset) << "'." << endl;
|
||||
// create generic environment inset
|
||||
cell->push_back(MathAtom(new InsetMathEnv(name)));
|
||||
parse(cell->back().nucleus()->cell(0), FLAG_ITEM, mode);
|
||||
parse(cell->back().nucleus()->cell(0), FLAG_END, mode);
|
||||
}
|
||||
}
|
||||
|
||||
@ -1276,7 +1276,7 @@ void Parser::parse1(InsetMathGrid & grid, unsigned flags,
|
||||
<< "'" << endl;
|
||||
// create generic environment inset
|
||||
cell->push_back(MathAtom(new InsetMathEnv(name)));
|
||||
parse(cell->back().nucleus()->cell(0), FLAG_ITEM, mode);
|
||||
parse(cell->back().nucleus()->cell(0), FLAG_END, mode);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user