class RDoc::Markup::ToHtml

def handle_special_TIDYLINK(special)

def handle_special_TIDYLINK(special)
  text = special.text
  return text unless
    text =~ /^\{(.*)\}\[(.*?)\]$/ or text =~ /^(\S+)\[(.*?)\]$/
  label = $1
  url   = $2
  label = handle_RDOCLINK label if /^rdoc-image:/ =~ label
  gen_url url, label
end