mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-26 18:07:18 +00:00
Correct logic: single characters must also be parsed when quiet == false.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26987 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
01a26f54db
commit
7923d0b90e
@ -688,7 +688,7 @@ docstring asString(MathData const & ar)
|
||||
void asArray(docstring const & str, MathData & ar, Parse::flags pf)
|
||||
{
|
||||
bool quiet = pf & Parse::QUIET;
|
||||
if ((str.size() == 1 || !mathed_parse_cell(ar, str, pf)) && quiet)
|
||||
if ((str.size() == 1 && quiet) || (!mathed_parse_cell(ar, str, pf) && quiet))
|
||||
mathed_parse_cell(ar, str, pf | Parse::VERBATIM);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user