FCK editor implementaion to rails app

Hi ,

I have used fck rich text editor in one of my rails app.Now it saves the
entered html text along with html tags in Database.But while displaying
how i
can convert it to html page ? Now its displaying everything from DB.i.e.
including html tags.(for ex . if i enter 'Hi' with bold , it displays
like <b>Hi</b>)

Please anybody help me.

Thanks in advance..

Manoj Bhat wrote:

Hi ,

I have used fck rich text editor in one of my rails app.Now it saves the
entered html text along with html tags in Database.But while displaying
how i
can convert it to html page ? Now its displaying everything from DB.i.e.
including html tags.(for ex . if i enter 'Hi' with bold , it displays
like <b>Hi</b>)

remove html escape filter(i.e <%= h %>
<%= content %>

Amar Daxini
railstech.com

would be nice to see your code. how are you trying to do this?

obviously, you don't want to use any escaping (like the h-function
does), but don't forget about security issues like cross-site
scripting.

MaD wrote:

would be nice to see your code. how are you trying to do this?

obviously, you don't want to use any escaping (like the h-function
does), but don't forget about security issues like cross-site
scripting.

Oh...yes..thanks alot ......guess saved my lot of time ..