Fix quote parsing