Text element: not recognizing HTML tags and not displaying properly