Fixed string quotation bug with mixed quote characters