Change .text function to .html to allow for html formatted strings to display correctly