> -carriage returns converted to <br />
Simple gsub()
> -any URL''s converted to links
gsub() with regular expression
> -allow for embed tags
> -sanitize any other tags or scripts
white_list plugin (http://svn.techno-weenie.net/projects/plugins/white_list/)
Hope this helps.
--
Zack Chandler
http://depixelate.com
On 3/21/07, blinking bear
<blinkingbear-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
wrote:> I''m looking for the right combination of view helpers to get the
following:
>
> -carriage returns converted to <br />
> -any URL''s converted to links
> -allow for embed tags
> -sanitize any other tags or scripts
>
> I know its kind of demanding :) Any help is appreciated.
>
> Thanks
>
> >
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---