Using fckeditor under rails

Hello all,
I am using fckeditor to write texts, but the problem is: the user can
JavaScripts commands.
But when I am showing the content of record, I need to display only
HTML and deny the JavaScript commands.
So I can not use the h tag. Because the h tag deny both (HTML and JS).
How can I deny only the JS commands and display the HTML.

Thank you.

Lucas Carvalho

I believe sanatize() will do the trick

Only if you spell it right thought: sanitize()

Chad wrote:

I believe sanatize() will do the trick

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