Trimmed whitespace on extracted synopsis lines

Fixes #770 on Windows

Regex just above doesn't match end of line completely and it gets into strings, completely messing up implode.