mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-24 18:43:37 +00:00
Fix copy and paste error in 6659304f7f
(cherry picked from commit 0513622fd0
)
This commit is contained in:
parent
bd876d8163
commit
ce2e155490
@ -3918,7 +3918,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())
|
||||||
@ -4018,7 +4018,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;
|
||||||
}
|
}
|
||||||
@ -4170,7 +4170,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