summaryrefslogtreecommitdiff
path: root/lib/rdoc/markup
diff options
context:
space:
mode:
authordave <dave@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-11-26 04:32:11 +0000
committerdave <dave@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-11-26 04:32:11 +0000
commita052ef75abbf7cc6035083a8af05cf4051ca0110 (patch)
tree818c27946260c3a7d4971adafaad8c040f24a1f0 /lib/rdoc/markup
parentdbb9181a8c8e988b0b7c56a49d9256916eed36c5 (diff)
Fix problem with :section: and new 1.9
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7381 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/rdoc/markup')
-rw-r--r--lib/rdoc/markup/simple_markup/preprocess.rb2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/rdoc/markup/simple_markup/preprocess.rb b/lib/rdoc/markup/simple_markup/preprocess.rb
index 08ac66139b..101c9bdeb1 100644
--- a/lib/rdoc/markup/simple_markup/preprocess.rb
+++ b/lib/rdoc/markup/simple_markup/preprocess.rb
@@ -19,13 +19,11 @@ module SM
def handle(text)
text.gsub!(/^([ \t#]*):(\w+):\s*(.+)?\n/) do
-
prefix = $1
directive = $2.downcase
param = $3
case directive
-
when "include"
filename = param.split[0]
include_file(filename, prefix)