# File lib/action_view/helpers/text_helper.rb, line 147 def strip_links(text) text.gsub(/<a.*>(.*)<\/a>/m, '\1') end