Handle escaped quotes properly