summaryrefslogtreecommitdiff
path: root/lib/rdoc/markup/to_flow.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/rdoc/markup/to_flow.rb')
-rw-r--r--lib/rdoc/markup/to_flow.rb5
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/rdoc/markup/to_flow.rb b/lib/rdoc/markup/to_flow.rb
index cb7da5fa888..3d87b3e9c3b 100644
--- a/lib/rdoc/markup/to_flow.rb
+++ b/lib/rdoc/markup/to_flow.rb
@@ -1,3 +1,4 @@
+require 'rdoc/markup/formatter'
require 'rdoc/markup/fragments'
require 'rdoc/markup/inline'
require 'cgi'
@@ -22,7 +23,7 @@ class RDoc::Markup
H = Struct.new(:level, :text)
end
- class ToFlow
+ class ToFlow < RDoc::Markup::Formatter
LIST_TYPE_TO_HTML = {
:BULLET => [ "<ul>", "</ul>" ],
:NUMBER => [ "<ol>", "</ol>" ],
@@ -35,6 +36,8 @@ class RDoc::Markup
InlineTag = Struct.new(:bit, :on, :off)
def initialize
+ super
+
init_tags
end