removed broken img tag and added quotes to malformed a tags