Fix bug #7970: space disappears from equation when reopening LyX file.

This commit is contained in:
Enrico Forestieri 2015-01-06 19:57:54 +01:00
parent 1997e8b817
commit 69179c08e7
2 changed files with 4 additions and 1 deletions

View File

@ -2068,7 +2068,8 @@ bool Parser::parse1(InsetMathGrid & grid, unsigned flags,
//}
for (InsetMath::idx_type i = start; i < at->nargs(); ++i) {
parse(at.nucleus()->cell(i), FLAG_ITEM, m);
skipSpaces();
if (mode == InsetMath::MATH_MODE)
skipSpaces();
}
cell->push_back(at);
}

View File

@ -111,6 +111,8 @@ What's new
- Protect insets when needed in subfloat captions (bug 9346).
- Do not swallow spaces in text-in-math mode (bug 7970).
* LYX2LYX