Handle properly body_eol option