Removed CRLF from base64 due to compatibility with ios