escape characters in span