method

strip_tags

Importance_1
Ruby on Rails latest stable (v2.3.4) - 1 note - Class: ActionView::Helpers::TextHelper

Method deprecated

This method is deprecated on the latest stable version of Rails. The last existing version (v1.2.6) is shown here.

strip_tags(html) public

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.

Show source