AnsweredAssumed Answered

What HTML elements are allowed in Open Data Text Blocks?

Question asked by kdoman on Mar 14, 2017
Latest reply on Mar 14, 2017 by CClaessens-esristaff

First off, thank you for the updates to the Open Data sites, and the Deep Customization content. Keep up the good work.

 

I was trying to create some custom content using the text panel. Part of the content included some SVG images. When I saved the site and viewed the data, the SVGs were stripped out. When I edited the section again, the raw SVG content was still inside the configuration text area, but the SVG was missing from the row when I finished editing the content.

 

For one of the SVG images, I used an SVG containing an internal style sheet. When I viewed the HTML code for the output page, the svg, g, and path elements were removed. However, the internal style sheet was present in the output HTML code.

 

Is there a list of approved/unapproved HTML elements that can be used in the Open Data text blocks? Are SVGs specifically prohibited, and will using an img element with an SVG source be an acceptable substitute?

Outcomes