summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authordave <dave@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-12-26 05:48:24 +0000
committerdave <dave@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-12-26 05:48:24 +0000
commit82f0f0ba8734aae82de715be9f8110744b7d435e (patch)
tree490ef0de19b4ef86fdaf30277438ef3b6cf07266 /lib
parent344d74df74e35e35884e2d672953b9bc4db8f5ba (diff)
downloadruby-82f0f0ba8734aae82de715be9f8110744b7d435e.tar.gz
ruby-82f0f0ba8734aae82de715be9f8110744b7d435e.tar.xz
ruby-82f0f0ba8734aae82de715be9f8110744b7d435e.zip
Backport fix to add_rules to 1.8 (sorry, NaHi)
git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@5303 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib')
-rw-r--r--lib/rdoc/markup/simple_markup/to_flow.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/rdoc/markup/simple_markup/to_flow.rb b/lib/rdoc/markup/simple_markup/to_flow.rb
index b91bb12e1..5d78849b9 100644
--- a/lib/rdoc/markup/simple_markup/to_flow.rb
+++ b/lib/rdoc/markup/simple_markup/to_flow.rb
@@ -89,6 +89,8 @@ module SM
end
def accept_rule(am, fragment)
+ size = fragment.param
+ size = 10 if size > 10
@res << Rule.new(size)
end