module RedCloth::Formatters::HTML

def link(opts)

def link(opts)
  if (filter_html || sanitize_html) && opts[:href] =~ /^\s*javascript:/i
    opts[:name]
  else
    "<a href=\"#{escape_attribute opts[:href]}\"#{pba(opts)}>#{opts[:name]}</a>"
  end
end