RoR newbie wrote:
Currently my comments are filtered by the h-command which is fine but I'd like to add some expections to it. Well, I dont need to use the h-command but a system that would allow a few html tags and deny all others would be perfect.
Is there such code out there somewhere that I could use? I tried to google around but couldn't find anything. I also could do the whole thing myself but the regexp bits are a bit too hard.
-- Posted via http://www.ruby-forum.com/.
Instead of h try using sanitize it should escape the bad stuff like script tags