Bartee,

It's likely you're filtering something with Textile, which will try to convert _some text_ to <em>some text</em>. If you can't turn off the filter, wrap the tag in <notextile></notextile>.

Sean

Bartee Lamar wrote:
I am writing an extension to output images.

I have an array of hashes.  Each has has a comment and image keys.

Example of 3rd entry in array....

 {"comments"=>"Great pictures for a little Cannon A540 6 megapixel
camera.",
"img"=>"http://lh3.ggpht.com/_oHfKrHmaVuo/SMKpno_-V7I/AAAAAAAACpg/AcrME-p7_kg/IMG_2740.jpg"}

When I output this using this code:

        %{<img src='#{tag.locals.img}'>}

I get this in the browser html ( see clipped below ) ... THE PROBLEM is
in the 3rd img tag....

NOTICE the <em> that was introduced and the last single quote and
greater-than are converted to html escaped characters

????????????  I have tried bunches of thing, nothing gets rid of this.

The images are not displaying


------------------- clipped ---------------------------------

  <img
src='http://lh5.ggpht.com/_oHfKrHmaVuo/SMKpkAZS3UI/AAAAAAAACpQ/st7sI3Cxp00/IMG_2737.jpg'>

  <img
src='http://lh4.ggpht.com/_oHfKrHmaVuo/SMKpl3v-obI/AAAAAAAACpY/IFT0woax6DY/IMG_2738.jpg'>

  <img
src='http://lh3.ggpht.com/<em>oHfKrHmaVuo/SMKpno</em>-V7I/AAAAAAAACpg/AcrME-p7_kg/IMG_2740.jpg&#8217;&gt;

  <img
src='http://lh3.ggpht.com/_oHfKrHmaVuo/SMKppaILKMI/AAAAAAAACpo/_NuieyEu3nA/IMG_2741.jpg'>

  <img
src='http://lh5.ggpht.com/_oHfKrHmaVuo/SMKpraGN3pI/AAAAAAAACpw/eRPMNwzAuNw/IMG_2742.jpg'>


--------------------- end clip -------------------------------

_______________________________________________
Radiant mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant

Reply via email to