Custom Links in User Profile

I want my users to be able to insert links in their profile, but
obviously they can’t use html.

I want to solve this by allowing them to do
[link=“”][/link]. Any idea how I would go about


I would consider using Textile or Markdown. Take a look at the
RedCloth gem.

-Dan M.

On Sep 22, 11:12 pm, Kyle M. [email protected]

linker =[link="(.?)"](.?)[/link]/)

<%= @user.profile.gsub(linker){|m| “#{m[1]}”} %>

On Sep 23, 12:12 am, Kyle M. [email protected]