Some fixes for HTML character escaping (seems like Qt doesn't like "&quot;").