summaryrefslogtreecommitdiffstats
path: root/lib/rdoc/markup/to_html.rb
diff options
context:
space:
mode:
authordrbrain <drbrain@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-04-26 16:14:19 +0000
committerdrbrain <drbrain@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-04-26 16:14:19 +0000
commita227ca4d038da262386511db9f1299e76cf6b9b4 (patch)
tree2ea8c0381d5d491a5f46e210239e1494df57d240 /lib/rdoc/markup/to_html.rb
parent89cc07c8ed14728ece28ad6599bb334cd7342397 (diff)
downloadruby-a227ca4d038da262386511db9f1299e76cf6b9b4.tar.gz
ruby-a227ca4d038da262386511db9f1299e76cf6b9b4.tar.xz
ruby-a227ca4d038da262386511db9f1299e76cf6b9b4.zip
Import RDoc 2.0.0 r56.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@16212 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/rdoc/markup/to_html.rb')
-rw-r--r--lib/rdoc/markup/to_html.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/rdoc/markup/to_html.rb b/lib/rdoc/markup/to_html.rb
index 3a500a4f0..3c08d7bf6 100644
--- a/lib/rdoc/markup/to_html.rb
+++ b/lib/rdoc/markup/to_html.rb
@@ -1,6 +1,7 @@
require 'rdoc/markup/formatter'
require 'rdoc/markup/fragments'
require 'rdoc/markup/inline'
+require 'rdoc/generator'
require 'cgi'
@@ -47,7 +48,7 @@ class RDoc::Markup::ToHtml < RDoc::Markup::Formatter
url = if path[0, 1] == '#' then # is this meaningful?
path
else
- HTML.gen_url @from_path, path
+ RDoc::Generator.gen_url @from_path, path
end
end