class RDoc::Markup::ToHtmlCrossref

def handle_regexp_HYPERLINK target

def handle_regexp_HYPERLINK target
  url = target.text
  case url
  when /\Ardoc-ref:/
    cross_reference $', rdoc_ref: true
  else
    super
  end
end