Take a look at sanitize.  You should be able to use that to strip out everything *except* link tags, which is a lot more ideal then just marking the user input as `html_safe`.

http://api.rubyonrails.org/classes/ActionView/Helpers/SanitizeHelper.html#method-i-sanitize