method

strip_links

Importance_1

Method deprecated

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

strip_links(text) public

Strips link tags from text leaving just the link label.

  strip_links('<a href="http://www.rubyonrails.org">Ruby on Rails</a>')
   => Ruby on Rails
Show source
Register or log in to add new notes.