#1
  1. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Sep 2005
    Posts
    390
    Rep Power
    10

    Help: Can't convert my image


    I have the following that won't convert:

    <description><![CDATA[<img src="http://www.example.com/image1.jpg" /> This is a news item]]></description>


    In my output I'm getting:

    <img src="http://www.example.com/image1.jpg" />

    instead of it rendering the actual image.

    Does anyone have any ideas?

    THanks
  2. #2
  3. Did you steal it?
    Devshed Supreme Being (6500+ posts)

    Join Date
    Mar 2007
    Location
    Washington, USA
    Posts
    13,959
    Rep Power
    9397
    Depends how you're creating the output.

    Looks like you're just copying the node, in which case why use a CDATA section if you don't want it?

IMN logo majestic logo threadwatch logo seochat tools logo