Converts all img src URLs to base64 data urls. Very crude, doesn't check the MIME type, probably som regex issues to.