Preserve original quoting style in <img> tags wherever possible. Fixes Bug #605956