improved img tag regex so that it matches in more situations
added tests to ensure new img tag regex is parsing properly
Merge pull request #1 from gilest/master

Improved img tag regex so that it matches tags that aren't self-closing