Method: ReVIEW::HTMLUtils#strip_html
- Defined in:
- lib/review/htmlutils.rb
#strip_html(str) ⇒ Object
32 33 34 |
# File 'lib/review/htmlutils.rb', line 32 def strip_html(str) str.gsub(%r{</?[^>]*>}, '') end |
32 33 34 |
# File 'lib/review/htmlutils.rb', line 32 def strip_html(str) str.gsub(%r{</?[^>]*>}, '') end |