Forum: Radiant CMS rendering converting characters ... Bad Results.

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
E8d27b9246051fff88e348844afd57ce?d=identicon&s=25 Bartee Lamar (bartee)
on 2009-01-02 18:15
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

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 ---------------------------------






--------------------- end clip -------------------------------
8802b1fa1b53e2197beea9454244f847?d=identicon&s=25 Sean Cribbs (seancribbs)
on 2009-01-02 18:53
(Received via mailing list)

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>.

This topic is locked and can not be replied to.