Rendering converting characters ... Bad Results

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


It’s likely you’re filtering something with Textile, which will try to
convert some text to some text. If you can’t turn off the
filter, wrap the tag in .


This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs