removing span tags from result, as they are no longer needed and display weird, I think. Also adding attribution for escape function used.