# Textfield not rendering html in CDATA...?

**URL:** <https://forum.kirupa.com/t/textfield-not-rendering-html-in-cdata/225711>\
**Category:** Uncategorized\
**Created:** [May 15, 2007, 3:21am UTC](https://forum.kirupa.com/t/textfield-not-rendering-html-in-cdata/225711 "2007-05-15T03:21:23Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![jensou](https://avatars.discourse-cdn.com/v4/letter/j/c37758/32.png) [@jensou](https://forum.kirupa.com/u/jensou)\
**Post date:** [May 15, 2007, 3:21am UTC](https://forum.kirupa.com/t/textfield-not-rendering-html-in-cdata/225711/1 "2007-05-15T03:21:23Z")

</div>

I’m using CDATA to display text in a textfield that has “render text as html” selected, but it’s not rendering the html tags within the CDATA.

here’s the xml code:

```auto

     <pic>
        <image>images/01_img.jpg</image>
        <description title="Title 1" price="$$$$$">
            <![CDATA[2007, acrylic on canvas,<br>20" x 40"</br>]]>
        </description>
        <thumbnail>thumbs/01_thb.jpg</thumbnail>
    </pic>

```

I’m not 100% sure that my AS is correct for the path to the CDATA. I have this…

legend.txtLegend.facts.text = description[p].firstChild.nodeValue;

Could someone possibly point out why the html tags are not being rendered and also tell me if the path I have to the CDATA is correct. It works, but I wanted to make sure it was correct.

thanks for the help. 🙂
