Remove trailing whitespace before wrapping plain text

Trailing spaces will inadvertently cause the line to be flowed into the
next.

https://bugzilla.gnome.org/show_bug.cgi?id=731746