works for one style per span
this is it