On Mon, Aug 23, 2010 at 2:43 AM, wprater <mc.willpra...@gmail.com> wrote:
> Hello,
> Was there some changes to rails or radiant in 0.9.1?  Im using the
> content_tag in one of my extensions and the html is getting escaped.
> I've tried to use html_safe, but it does not seem to work.
> Anything I could be missing?

We moved to Rails 2.3.8 in 0.9.1.
I'm not sure of the differences on content_tag but I know that there
were some problems during the cycle of late rails 2.3 releases.

The source from rails looks like this:
def content_tag(name, content_or_options_with_block = nil, options =
nil, escape = true, &block)

Have you tried turning escape off? For example:

 content_tag(:p, 'Hello', nil, false)


Jim Gay
Saturn Flyer LLC

Reply via email to