mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 01:59:02 +00:00
Fix copy and paste error in 6659304f7f
This commit is contained in:
parent
0bc192bfff
commit
0513622fd0
@ -3937,7 +3937,7 @@ void parse_text(Parser & p, ostream & os, unsigned flags, bool outer,
|
|||||||
if (!before.empty()) {
|
if (!before.empty()) {
|
||||||
before.erase(0, 1);
|
before.erase(0, 1);
|
||||||
before.erase(before.length() - 1, 1);
|
before.erase(before.length() - 1, 1);
|
||||||
bef = convert_latexed_command_inset_arg(after);
|
bef = convert_latexed_command_inset_arg(before);
|
||||||
literal |= !bef.first;
|
literal |= !bef.first;
|
||||||
before = literal ? subst(before, "\n", " ") : bef.second;
|
before = literal ? subst(before, "\n", " ") : bef.second;
|
||||||
if (literal && !after.empty())
|
if (literal && !after.empty())
|
||||||
@ -4037,7 +4037,7 @@ void parse_text(Parser & p, ostream & os, unsigned flags, bool outer,
|
|||||||
if (!before.empty()) {
|
if (!before.empty()) {
|
||||||
before.erase(0, 1);
|
before.erase(0, 1);
|
||||||
before.erase(before.length() - 1, 1);
|
before.erase(before.length() - 1, 1);
|
||||||
bef = convert_latexed_command_inset_arg(after);
|
bef = convert_latexed_command_inset_arg(before);
|
||||||
literal |= !bef.first;
|
literal |= !bef.first;
|
||||||
before = literal ? subst(before, "\n", " ") : bef.second;
|
before = literal ? subst(before, "\n", " ") : bef.second;
|
||||||
}
|
}
|
||||||
@ -4189,7 +4189,7 @@ void parse_text(Parser & p, ostream & os, unsigned flags, bool outer,
|
|||||||
if (!before.empty()) {
|
if (!before.empty()) {
|
||||||
before.erase(0, 1);
|
before.erase(0, 1);
|
||||||
before.erase(before.length() - 1, 1);
|
before.erase(before.length() - 1, 1);
|
||||||
bef = convert_latexed_command_inset_arg(after);
|
bef = convert_latexed_command_inset_arg(before);
|
||||||
literal |= !bef.first;
|
literal |= !bef.first;
|
||||||
before = literal ? subst(before, "\n", " ") : bef.second;
|
before = literal ? subst(before, "\n", " ") : bef.second;
|
||||||
if (literal && !after.empty())
|
if (literal && !after.empty())
|
||||||
|
Loading…
Reference in New Issue
Block a user