Fix quote escaping in XML head