mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-23 10:18:50 +00:00
do not create invalid .lyx files when importing \i{}, \j{}, \l{} or \L{}.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16253 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
02fe5e67b8
commit
995d1337bb
@ -2102,7 +2102,7 @@ void parse_text(Parser & p, ostream & os, unsigned flags, bool outer,
|
||||
else if (t.cs() == "i" || t.cs() == "j" || t.cs() == "l" ||
|
||||
t.cs() == "L") {
|
||||
context.check_layout(os);
|
||||
os << "\\" << t.cs() << ' ';
|
||||
os << "\\i \\" << t.cs() << "{}\n";
|
||||
skip_braces(p); // eat {}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user