Fixed a problem about raise exception when 'src' attr is not set on img element
Merge pull request #4 from wneko/fix-nil-src

Fixed a problem about raise exception when 'src' attr is not set on img element