Adding attributed string to search results