Fix copy and paste error in 6659304f7f

(cherry picked from commit 0513622fd0)
This commit is contained in:
Juergen Spitzmueller 2018-03-09 12:29:07 +01:00
parent bd876d8163
commit ce2e155490

View File

@ -3918,7 +3918,7 @@ void parse_text(Parser & p, ostream & os, unsigned flags, bool outer,
if (!before.empty()) {
before.erase(0, 1);
before.erase(before.length() - 1, 1);
bef = convert_latexed_command_inset_arg(after);
bef = convert_latexed_command_inset_arg(before);
literal |= !bef.first;
before = literal ? subst(before, "\n", " ") : bef.second;
if (literal && !after.empty())
@ -4018,7 +4018,7 @@ void parse_text(Parser & p, ostream & os, unsigned flags, bool outer,
if (!before.empty()) {
before.erase(0, 1);
before.erase(before.length() - 1, 1);
bef = convert_latexed_command_inset_arg(after);
bef = convert_latexed_command_inset_arg(before);
literal |= !bef.first;
before = literal ? subst(before, "\n", " ") : bef.second;
}
@ -4170,7 +4170,7 @@ void parse_text(Parser & p, ostream & os, unsigned flags, bool outer,
if (!before.empty()) {
before.erase(0, 1);
before.erase(before.length() - 1, 1);
bef = convert_latexed_command_inset_arg(after);
bef = convert_latexed_command_inset_arg(before);
literal |= !bef.first;
before = literal ? subst(before, "\n", " ") : bef.second;
if (literal && !after.empty())