Is This Content Helpful?
We're glad to know this article was helpful.
ArcGIS for Local Government provides maps and apps that help implement GIS in a local government context, and a destination where users, partners, and the teams within Esri can collaborate.
The instructions provided describe how to add HTML formatting to detailed item descriptions in Maps and Apps.
By design, the detailed description for an item shown in the Maps and Apps application's gallery has its HTML formatting removed. The intention is to protect the application from malformed or malintentioned HTML. One can permit HTML formatting by deleting the function call that removes the formatting.
dojo.byId("detailsDialogDescription").innerHTML = textOnly(galleryItem.description);
dojo.byId("detailsDialogDescription").innerHTML = galleryItem.description;