hi,
is there a clean way to remove all html tag of all attributes before
validation
I found acts_as_sanitized that seemed to be perfect, but for rails 2 :-s
thanks
hi,
is there a clean way to remove all html tag of all attributes before
validation
I found acts_as_sanitized that seemed to be perfect, but for rails 2 :-s
thanks
On Mar 26, 2013, at 9:45 PM, oto iashvili wrote:
hi,
is there a clean way to remove all html tag of all attributes before validation
I found acts_as_sanitized that seemed to be perfect, but for rails 2 :-s
Have a look at flavorjones/loofah on Github. It includes a sanitize
helper that should do exactly what you need.
Walter
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs