Remove trailing space at the end of \author

Checked that the change is compatible with lyx2lyx (relevant lines are in
lyx_2_0.py).
This commit is contained in:
Guillaume Munch 2015-11-13 18:40:10 +00:00
parent 86bd1cd641
commit 355f9a0efc

View File

@ -64,8 +64,9 @@ bool operator==(Author const & l, Author const & r)
ostream & operator<<(ostream & os, Author const & a)
{
// FIXME UNICODE
os << a.buffer_id_ << " \"" << to_utf8(a.name_)
<< "\" " << to_utf8(a.email_);
os << a.buffer_id_ << " \"" << to_utf8(a.name_) << "\"";
if (!a.email_.empty())
os << " " << to_utf8(a.email_);
return os;
}