mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 13:18:28 +00:00
Fix bug #6219: Latex problem with multi-line citep arguments
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34011 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
ba97587b16
commit
69fd1193e5
@ -1981,10 +1981,14 @@ void parse_text(Parser & p, ostream & os, unsigned flags, bool outer,
|
||||
if (!after.empty()) {
|
||||
after.erase(0, 1);
|
||||
after.erase(after.length() - 1, 1);
|
||||
// LyX cannot handle newlines in the parameter
|
||||
after = subst(after, "\n", " ");
|
||||
}
|
||||
if (!before.empty()) {
|
||||
before.erase(0, 1);
|
||||
before.erase(before.length() - 1, 1);
|
||||
// LyX cannot handle newlines in the parameter
|
||||
before = subst(before, "\n", " ");
|
||||
}
|
||||
begin_inset(os, "LatexCommand ");
|
||||
os << t.cs() << "\n";
|
||||
|
Loading…
Reference in New Issue
Block a user