summaryrefslogtreecommitdiffstats
path: root/lib/rdoc/generators/template
diff options
context:
space:
mode:
authordave <dave@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-12-30 03:32:39 +0000
committerdave <dave@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-12-30 03:32:39 +0000
commitb0af12141897aa86d8b6e7d3ec302213ceea946b (patch)
tree9d1d6366c9c007027fbf3f6b6b94a3e3a3ce14c9 /lib/rdoc/generators/template
parentd18d86433d0eaf5877098b209d2138fa13efc032 (diff)
Fix problem when class name is also a method name
git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@5348 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/rdoc/generators/template')
-rw-r--r--lib/rdoc/generators/template/chm/chm.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/rdoc/generators/template/chm/chm.rb b/lib/rdoc/generators/template/chm/chm.rb
index 6df83a777..4a89c2652 100644
--- a/lib/rdoc/generators/template/chm/chm.rb
+++ b/lib/rdoc/generators/template/chm/chm.rb
@@ -7,6 +7,7 @@ require "rdoc/generators/template/html/html"
# tag, so...
BODY.sub!(/<\?xml.*\?>/, '')
+SRC_PAGE.sub!(/<\?xml.*\?>/, '')
HPP_FILE = %{
[OPTIONS]