<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic What HTML elements are allowed in Open Data Text Blocks? in ArcGIS Hub Questions</title>
    <link>https://community.esri.com/t5/arcgis-hub-questions/what-html-elements-are-allowed-in-open-data-text/m-p/118694#M675</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;First off, thank you for the updates to the Open Data sites, and the &lt;A href="http://deepcustom-andrew.opendata.arcgis.com"&gt;Deep Customization content&lt;/A&gt;. Keep up the good work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;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.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;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 &lt;STRONG&gt;svg&lt;/STRONG&gt;, &lt;STRONG&gt;g&lt;/STRONG&gt;, and &lt;STRONG&gt;path&lt;/STRONG&gt; elements were removed. However, the internal style sheet was present in the output HTML code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;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 &lt;STRONG&gt;img&lt;/STRONG&gt; element with an SVG source be an acceptable substitute?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 14 Mar 2017 20:04:30 GMT</pubDate>
    <dc:creator>KenDoman</dc:creator>
    <dc:date>2017-03-14T20:04:30Z</dc:date>
    <item>
      <title>What HTML elements are allowed in Open Data Text Blocks?</title>
      <link>https://community.esri.com/t5/arcgis-hub-questions/what-html-elements-are-allowed-in-open-data-text/m-p/118694#M675</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;First off, thank you for the updates to the Open Data sites, and the &lt;A href="http://deepcustom-andrew.opendata.arcgis.com"&gt;Deep Customization content&lt;/A&gt;. Keep up the good work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;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.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;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 &lt;STRONG&gt;svg&lt;/STRONG&gt;, &lt;STRONG&gt;g&lt;/STRONG&gt;, and &lt;STRONG&gt;path&lt;/STRONG&gt; elements were removed. However, the internal style sheet was present in the output HTML code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;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 &lt;STRONG&gt;img&lt;/STRONG&gt; element with an SVG source be an acceptable substitute?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Mar 2017 20:04:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-hub-questions/what-html-elements-are-allowed-in-open-data-text/m-p/118694#M675</guid>
      <dc:creator>KenDoman</dc:creator>
      <dc:date>2017-03-14T20:04:30Z</dc:date>
    </item>
    <item>
      <title>Re: What HTML elements are allowed in Open Data Text Blocks?</title>
      <link>https://community.esri.com/t5/arcgis-hub-questions/what-html-elements-are-allowed-in-open-data-text/m-p/118695#M676</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ken,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You're right, we don't allow svg element. You can use an svg source with an img element.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The following HTML elements are allowed:&amp;nbsp;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
 'a', 'b', 'blockquote', 'br', 'caption', 'cite', 'code', 'col',
 'colgroup', 'dd', 'dl', 'dt', 'em', 'h1', 'h2', 'h3', 'h4', 'h5', 'h6',
 'i', 'img', 'li', 'ol', 'p', 'pre', 'q', 'small', 'strike', 'strong',
 'sub', 'sup', 'table', 'tbody', 'td', 'tfoot', 'th', 'thead', 'tr', 'u',
 'ul', 'center', 'style', 'div', 'span'

&lt;/PRE&gt;&lt;P&gt;&lt;BR /&gt;And the following attributes for those elements are allowed:&amp;nbsp;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
 '__ALL__' : ['class', 'style'],
 'a' : ['href', 'title'],
 'blockquote': ['cite'],
 'col' : ['span', 'width'],
 'colgroup' : ['span', 'width'],
 'img' : ['align', 'alt', 'height', 'src', 'title', 'width' ],
 'ol' : ['start', 'type'],
 'q' : ['cite'],
 'table' : ['summary', 'width', 'class'],
 'td' : ['abbr', 'axis', 'colspan', 'rowspan', 'width'],
 'th' : ['abbr', 'axis', 'colspan', 'rowspan', 'scope', 'width'],
 'ul' : ['type']



&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 16:02:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-hub-questions/what-html-elements-are-allowed-in-open-data-text/m-p/118695#M676</guid>
      <dc:creator>CourtneyClaessens</dc:creator>
      <dc:date>2021-12-12T16:02:19Z</dc:date>
    </item>
  </channel>
</rss>

