Quotes only need to be escaped for attributes, and that's handled adequately and more intelligently by build_attributes.