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