modified code to handle html in the description