<?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: popupskinrenderer is causing double encoding, how do i make it not encode? in ArcGIS API for Flex Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/popupskinrenderer-is-causing-double-encoding-how/m-p/151277#M3516</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Bobby,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;I have not been coding in Flex for a couple of years now... I vaguely remember this issue and I don't think I ever found a solution for it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 21 Oct 2016 17:42:54 GMT</pubDate>
    <dc:creator>RobertScheitlin__GISP</dc:creator>
    <dc:date>2016-10-21T17:42:54Z</dc:date>
    <item>
      <title>popupskinrenderer is causing double encoding, how do i make it not encode?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/popupskinrenderer-is-causing-double-encoding-how/m-p/151276#M3515</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #0033ff; font-size: small;"&gt;&lt;STRONG&gt;I don't want to use different fields for the same link. I write the %20 url's with a script and that makes them work with all of the other tools except popups.&amp;nbsp; I would greatly appreciate any help on this as it is more than nuisance level now.&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0033ff; font-size: small;"&gt;&lt;STRONG&gt;if&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: small;"&gt; (htmlText)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: small;"&gt; fieldValue = &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0033ff; font-size: small;"&gt;new&lt;/STRONG&gt;&lt;SPAN style="font-size: small;"&gt; RichEditableText();&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: small;"&gt; &lt;/SPAN&gt;&lt;EM style=": ; color: #009900; font-size: small;"&gt;// convert attribute field values that just contain URLs into links&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: small;"&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #6699cc; font-size: small;"&gt;var&lt;/STRONG&gt;&lt;SPAN style="font-size: small;"&gt; match:Array = htmlText.match(&lt;/SPAN&gt;&lt;STRONG style=": ; color: #990000; font-size: small;"&gt;/^\s*((https?|ftp):\/\/\S+)\s*$/i&lt;/STRONG&gt;&lt;SPAN style="font-size: small;"&gt;);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: small;"&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0033ff; font-size: small;"&gt;if&lt;/STRONG&gt;&lt;SPAN style="font-size: small;"&gt; (match &amp;amp;&amp;amp; match.length &amp;gt; 0)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: small;"&gt; htmlText = &lt;/SPAN&gt;&lt;STRONG style=": ; color: #990000; font-size: small;"&gt;'&amp;lt;a href="'&lt;/STRONG&gt;&lt;SPAN style="font-size: small;"&gt; + match[1] + &lt;/SPAN&gt;&lt;STRONG style=": ; color: #990000; font-size: small;"&gt;'" target="_blank"&amp;gt;'&lt;/STRONG&gt;&lt;SPAN style="font-size: small;"&gt; + match[1] + &lt;/SPAN&gt;&lt;STRONG style=": ; color: #990000; font-size: small;"&gt;"&amp;lt;/a&amp;gt;"&lt;/STRONG&gt;&lt;SPAN style="font-size: small;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;setTextFlow(fieldValue, htmlText);&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: small;"&gt; fieldValue.editable = &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0033ff; font-size: small;"&gt;false&lt;/STRONG&gt;&lt;SPAN style="font-size: small;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: small;"&gt; fieldValue.left = &lt;/SPAN&gt;&lt;STRONG style=": ; color: #990000; font-size: small;"&gt;"col2:5"&lt;/STRONG&gt;&lt;SPAN style="font-size: small;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;fieldValue.right = 0;&lt;/P&gt;&lt;P&gt;fieldValue.top = fieldLabel.top;&lt;/P&gt;&lt;P&gt;keyValueGroup.addElement(fieldValue);&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Oct 2016 15:08:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/popupskinrenderer-is-causing-double-encoding-how/m-p/151276#M3515</guid>
      <dc:creator>BobbySells</dc:creator>
      <dc:date>2016-10-21T15:08:17Z</dc:date>
    </item>
    <item>
      <title>Re: popupskinrenderer is causing double encoding, how do i make it not encode?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/popupskinrenderer-is-causing-double-encoding-how/m-p/151277#M3516</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Bobby,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;I have not been coding in Flex for a couple of years now... I vaguely remember this issue and I don't think I ever found a solution for it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Oct 2016 17:42:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/popupskinrenderer-is-causing-double-encoding-how/m-p/151277#M3516</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2016-10-21T17:42:54Z</dc:date>
    </item>
  </channel>
</rss>

