Fix <img src> when src preceded by other attribute

Fixes regression introduced in commit 0934764 (Issue #353).