Make sure we don't add extra EOLs - fixes #711