mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-08 10:51:03 +00:00
Don't create nested text-in-math environments.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29118 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
326a035a5b
commit
ed6f569fc8
@ -910,7 +910,8 @@ bool Parser::parse1(InsetMathGrid & grid, unsigned flags,
|
||||
else if (t.cat() == catOther) {
|
||||
char_type c = t.character();
|
||||
if (c < 0x80 || mode_ & Parse::VERBATIM
|
||||
|| !(mode_ & Parse::USETEXT)) {
|
||||
|| !(mode_ & Parse::USETEXT)
|
||||
|| mode == InsetMath::TEXT_MODE) {
|
||||
cell->push_back(MathAtom(new InsetMathChar(c)));
|
||||
} else {
|
||||
MathAtom at = createInsetMath("text");
|
||||
|
Loading…
Reference in New Issue
Block a user