Is there a Ruby method to strip (not sanitize) HTML? For example:
my_string = ‘
This copy is very important.
’my_string.remove_html =>
‘This copy is very important’
Thanks!
Tom
Is there a Ruby method to strip (not sanitize) HTML? For example:
my_string = ‘
Thanks!
Tom
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