added style to span in search result