class RDoc::Markup::ToHtml
Outputs RDoc markup as HTML.
Constants
- HTML_CHARACTER_ALIASES
- TO_HTML_CHARACTERS
-
Maps an encoding to a Hash of characters properly transcoded for that encoding.
See also encode_fallback.
Public Class Methods
Source
# File lib/rdoc/markup/to_html.rb, line 78 def self.encode_fallback(character, encoding, fallback) character.encode(encoding, :fallback => { character => fallback }, :undef => :replace, :replace => fallback) end
Transcodes character to encoding with a fallback character.
Source
# File lib/rdoc/markup/to_html.rb, line 122 def initialize(options, markup = nil) super @code_object = nil @from_path = '' @in_list_entry = nil @list = nil @th = nil @quote_converter = nil @in_tidylink_label = false @hard_break = "<br>\n" init_regexp_handlings end
Creates a new formatter that will output HTML
Calls superclass method
RDoc::Markup::Formatter::new
Regexp Handling
Utilities
Constants
- LIST_TYPE_TO_HTML
-
Maps
RDoc::Markup::Parser::LIST_TOKENStypes to HTML tags
Attributes
The RDoc::CodeObject HTML is being generated for. This is used to generate namespaced URI fragments
Path to this document for relative links