<?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 Re: How to avoid text changes in Open Data Deep customization in ArcGIS Hub Questions</title>
    <link>https://community.esri.com/t5/arcgis-hub-questions/how-to-avoid-text-changes-in-open-data-deep/m-p/3908#M15</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Klara,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the insights. I had a feeling about how the special characters (like "&amp;lt; &amp;gt;"), but I'm glad you've confirmed it. I've been able to modify my selectors to work with it. Some pseudo-selectors will work, but not the content attributes of a :before or :after selector.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As for the style block in the header vs. the CSS editor, I did that on purpose. I noticed that a style block in the header would cascade onto other pages when the custom CSS editor content would not. I wasn't trying to absolutely position anything on a global level, but probably something just as breaking.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 28 Mar 2017 20:04:42 GMT</pubDate>
    <dc:creator>KenDoman</dc:creator>
    <dc:date>2017-03-28T20:04:42Z</dc:date>
    <item>
      <title>How to avoid text changes in Open Data Deep customization</title>
      <link>https://community.esri.com/t5/arcgis-hub-questions/how-to-avoid-text-changes-in-open-data-deep/m-p/3906#M13</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've been trying to implement some of custom header items from your &lt;A href="http://deepcustom-andrew.opendata.arcgis.com" rel="nofollow noopener noreferrer" target="_blank"&gt;Open Data Deep Customization&lt;/A&gt; example, and I've run into some issues. In the header HTML, I've added a style block and put some CSS styles in it, but the content is changed in the output after it's saved.&lt;/P&gt;&lt;P&gt;Below, I've added a sample snippet of the style block I added to the header CSS. &lt;EM&gt;CSS selectors were renamed to protect the innocent.&lt;/EM&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;&lt;SPAN class="language-css style token"&gt;&lt;SPAN class="token tag"&gt;&lt;SPAN class="token tag"&gt;&lt;SPAN class="punctuation token"&gt;&amp;lt;&lt;/SPAN&gt;style&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;&amp;gt;&lt;/SPAN&gt;&lt;/SPAN&gt;
&amp;nbsp; &lt;SPAN class="selector token"&gt;.ember-view &amp;gt; div&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;{&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="property token"&gt;border&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt; 3px solid purple&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
&amp;nbsp; &lt;SPAN class="punctuation token"&gt;}&lt;/SPAN&gt;
&amp;nbsp; &lt;SPAN class="selector token"&gt;a.newlink:after&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;{&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="property token"&gt;content&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;"I am a new link :)"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="property token"&gt;color&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt; blue&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
&amp;nbsp; &lt;SPAN class="punctuation token"&gt;}&lt;/SPAN&gt;
&amp;nbsp; &lt;SPAN class="selector token"&gt;a.oldlink:after&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;{&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="property token"&gt;content&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;'I am an old link :('&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="property token"&gt;color&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt; red&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
&amp;nbsp; &lt;SPAN class="punctuation token"&gt;}&lt;/SPAN&gt;
&lt;SPAN class="token tag"&gt;&lt;SPAN class="token tag"&gt;&lt;SPAN class="punctuation token"&gt;&amp;lt;/&lt;/SPAN&gt;style&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;&amp;gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;‍‍‍‍‍‍‍‍‍‍‍‍‍‍&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;/PRE&gt;&lt;P&gt;And below is the output found in the HTML:&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;&lt;SPAN class="language-css style token"&gt;&lt;SPAN class="token tag"&gt;&lt;SPAN class="token tag"&gt;&lt;SPAN class="punctuation token"&gt;&amp;lt;&lt;/SPAN&gt;style&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;&amp;gt;&lt;/SPAN&gt;&lt;/SPAN&gt;
&amp;nbsp; .ember-view &amp;amp;gt&lt;SPAN class="selector token"&gt;; div&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;{&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="property token"&gt;border&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt; 3px solid purple&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
&amp;nbsp; &lt;SPAN class="punctuation token"&gt;}&lt;/SPAN&gt;
&amp;nbsp; &lt;SPAN class="selector token"&gt;a.newlink:after&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;{&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="property token"&gt;content&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt; &amp;amp;quot&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;I am a new &lt;SPAN class="property token"&gt;link&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&amp;amp;quot&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="property token"&gt;color&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt; blue&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
&amp;nbsp; &lt;SPAN class="punctuation token"&gt;}&lt;/SPAN&gt;
&amp;nbsp; &lt;SPAN class="selector token"&gt;a.oldlink:after&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;{&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="property token"&gt;content&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt; &amp;amp;#39&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;I am an old &lt;SPAN class="property token"&gt;link&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&amp;amp;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;39&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="property token"&gt;color&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt; red&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
&amp;nbsp; &lt;SPAN class="punctuation token"&gt;}&lt;/SPAN&gt;
&lt;SPAN class="token tag"&gt;&lt;SPAN class="token tag"&gt;&lt;SPAN class="punctuation token"&gt;&amp;lt;/&lt;/SPAN&gt;style&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;&amp;gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;‍‍‍‍‍‍‍‍‍‍‍‍‍‍&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;/PRE&gt;&lt;P&gt;Are there any recommendations to get around these text substitutions in style blocks, or am I limited in what I can do with styling?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Dec 2021 20:09:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-hub-questions/how-to-avoid-text-changes-in-open-data-deep/m-p/3906#M13</guid>
      <dc:creator>KenDoman</dc:creator>
      <dc:date>2021-12-10T20:09:46Z</dc:date>
    </item>
    <item>
      <title>Re: How to avoid text changes in Open Data Deep customization</title>
      <link>https://community.esri.com/t5/arcgis-hub-questions/how-to-avoid-text-changes-in-open-data-deep/m-p/3907#M14</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ken,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Special characters (eg. ' " &amp;lt; &amp;gt;) do get stripped out of the text card when doing embedded styling there. I've also run into a similar situation when I've tried to do &lt;EM&gt;background-image: url('');&lt;/EM&gt; within embedded style tags. In my case, I was told to do it inline via &lt;EM&gt;style="..."&lt;/EM&gt;. Unfortunately, pseudo-selectors cannot be applied inline and at this time, are not supported in the &amp;lt;style&amp;gt;&amp;lt;/style&amp;gt; section.&amp;nbsp;I can follow up with my team and see why we strip out some of the aforementioned special characters.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However,&amp;nbsp;you said you were trying to do this in the HTML block, correct?&amp;nbsp;We do have a CSS editor for the header block specifically in the sidebar under Header Settings and it does support special characters. It is neither a global CSS editor nor a page CSS editor, but if you were trying to get these styles applied in your header - it should work for that case. I tried the code you provided above and&amp;nbsp;I was able to implement the :after classes within my header.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The reason the header CSS is limited to that component and does not cascade is because the header can appear on multiple pages within the app, and we were having issues with some folks doing absolute positioning on a global level, which would break the layout when new features were released.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Mar 2017 14:15:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-hub-questions/how-to-avoid-text-changes-in-open-data-deep/m-p/3907#M14</guid>
      <dc:creator>KlaraSchmitt</dc:creator>
      <dc:date>2017-03-27T14:15:40Z</dc:date>
    </item>
    <item>
      <title>Re: How to avoid text changes in Open Data Deep customization</title>
      <link>https://community.esri.com/t5/arcgis-hub-questions/how-to-avoid-text-changes-in-open-data-deep/m-p/3908#M15</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Klara,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the insights. I had a feeling about how the special characters (like "&amp;lt; &amp;gt;"), but I'm glad you've confirmed it. I've been able to modify my selectors to work with it. Some pseudo-selectors will work, but not the content attributes of a :before or :after selector.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As for the style block in the header vs. the CSS editor, I did that on purpose. I noticed that a style block in the header would cascade onto other pages when the custom CSS editor content would not. I wasn't trying to absolutely position anything on a global level, but probably something just as breaking.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Mar 2017 20:04:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-hub-questions/how-to-avoid-text-changes-in-open-data-deep/m-p/3908#M15</guid>
      <dc:creator>KenDoman</dc:creator>
      <dc:date>2017-03-28T20:04:42Z</dc:date>
    </item>
    <item>
      <title>Re: How to avoid text changes in Open Data Deep customization</title>
      <link>https://community.esri.com/t5/arcgis-hub-questions/how-to-avoid-text-changes-in-open-data-deep/m-p/3909#M16</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ken,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;While that is very astute of you to figure out how do global styling in that manner, as you might've determined from my earlier response, it was our intention that homepage aside, styling of the internal pages would be strictly through the theme editor at the moment, and later through a set of sass variables to minimize layout-breaking feature changes. It is a bug that the HTML header block&amp;nbsp;allows the embedded style tags. I would strongly recommend&amp;nbsp;you not use it&amp;nbsp;as it will be fixed in the future and&amp;nbsp;thus&amp;nbsp;will undo any custom CSS on those internal pages.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Mar 2017 19:01:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-hub-questions/how-to-avoid-text-changes-in-open-data-deep/m-p/3909#M16</guid>
      <dc:creator>KlaraSchmitt</dc:creator>
      <dc:date>2017-03-30T19:01:23Z</dc:date>
    </item>
  </channel>
</rss>

