Handle embedded quotes in spans