Catalysis of the reaction: H(+) + O(2) + quercetin = 2-(3,4-dihydroxybenzoyloxy)-4,6-dihydroxybenzoate + CO.