fix bug #6249: optional argument of \bibitem is not imported correctly by tex2lyx

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31489 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Jean-Marc Lasgouttes 2009-10-01 09:58:53 +00:00
parent 5c2dad7029
commit 7a52f14bc0

View File

@ -1453,8 +1453,8 @@ void parse_text(Parser & p, ostream & os, unsigned flags, bool outer,
context.check_layout(os); context.check_layout(os);
begin_inset(os, "LatexCommand "); begin_inset(os, "LatexCommand ");
os << t.cs() << "\n"; os << t.cs() << "\n";
os << p.getOpt(); os << "label \"" << p.getOptContent() << "\"\n";
os << "key " << '"' << p.verbatim_item() << '"' << "\n"; os << "key \"" << p.verbatim_item() << "\"\n";
end_inset(os); end_inset(os);
} }