# CDATA and HTML Formatted Text

**URL:** <https://forum.kirupa.com/t/cdata-and-html-formatted-text/285775>\
**Category:** Uncategorized\
**Created:** [April 6, 2009, 11:01am UTC](https://forum.kirupa.com/t/cdata-and-html-formatted-text/285775 "2009-04-06T11:01:50Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![sparkdemon](https://avatars.discourse-cdn.com/v4/letter/s/958977/32.png) [@sparkdemon](https://forum.kirupa.com/u/sparkdemon)\
**Post date:** [April 6, 2009, 11:01am UTC](https://forum.kirupa.com/t/cdata-and-html-formatted-text/285775/1 "2009-04-06T11:01:50Z")

</div>

hi ,

i am storing some data in a xml as html format.

```auto
<notice><![CDATA["<p>hello &quot;hi&quot;</p><p>&nbsp; </p>"]]></notice>

```

I want to take it to flash and apply to a text field with html property set to true.  
however when i take it to flash , it becomes :

```auto
&quot;&lt;p&gt;hello &amp;quot;hi&amp;quot;&lt;/p&gt;&lt;p&gt;&amp;nbsp; &lt;/p&gt;&quot;

```

Please some one help ☹
