parent
4aacace550
commit
4c3afea7df
|
@ -1493,7 +1493,7 @@ strip_links('Blog: <a href="http://myblog.com/">Visit</a>.')
|
|||
#### strip_tags(html)
|
||||
|
||||
Strips all HTML tags from the html, including comments.
|
||||
This uses the html-scanner tokenizer and so its HTML parsing ability is limited by that of html-scanner.
|
||||
This functionality is powered by the rails-html-sanitizer gem.
|
||||
|
||||
```ruby
|
||||
strip_tags("Strip <i>these</i> tags!")
|
||||
|
|
Loading…
Reference in New Issue