Invalid HTML when serializing images

1.4.2 introduced a bug - there is an extra quote in HTML for images: `<img src="/url/" alt="image link""/>`