Fixing an issue with embedded images

Fixed the issue with html parsing when there was an embedded base64
encoded image in the source - which resulted in regexp errors (too long
regexp).
changed white spaces
Merge pull request #319 from gergoe/master

Fixing an issue with embedded images