WordPress ajax-action failing because of newline in response

Found a plugin ending with ?> with a newline after it