Here's what I'm trying to do. It's intended to replace plain text with a clickable link
<%= r.text.gsub!("\##{ht[:text]}", link_to("\##{ht[:text]}", "www.url.com")) %>
Where r.text is a string. But when it displays, the HTML is embedded in the text, it is not a link.
Some text <a href="www.url.com">Some other text</a>
How do I make it display the link?