add rich text support for detail text