Fix quote and html bugs with type questions