Fixed issue with escaping the string that was not displaying the HTML correctly