new(markup = nil)
public
Creates a new formatter
that will output HTML
# File lib/rdoc/markup/to_html.rb, line 65
def initialize markup = nil
super
@th = nil
@in_list_entry = nil
@list = nil
@from_path = ''
# external links
@markup.add_special(/((link:|https?:|mailto:|ftp:|www\.)\S+\w)/, :HYPERLINK)
# and links of the form <text>[<url>]
@markup.add_special(/(((\{.*?\})|\b\S+?)\[\S+?\])/, :TIDYLINK)
init_tags
end