aboutsummaryrefslogtreecommitdiffstats
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
commitc42a631063e79fab2369c1983a6f2a075b584f62 (patch)
tree2ea8c0381d5d491a5f46e210239e1494df57d240 /lib/rdoc/markup/to_html.rb
parent2142a5af51ce882641a060e69bc58c7322ff5188 (diff)
downloadruby-c42a631063e79fab2369c1983a6f2a075b584f62.tar.gz
Import RDoc 2.0.0 r56.
git-svn-id: svn+ssh://ci.ruby-lang.org/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 3a500a4f0e..3c08d7bf6a 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