summaryrefslogtreecommitdiff
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
commit7d4e7e32cd6234e20428f8f0073693a897a8549c (patch)
tree490ef0de19b4ef86fdaf30277438ef3b6cf07266 /lib
parent892e443cc8f02fc7b15fac0066374be13a0cc808 (diff)
Backport fix to add_rules to 1.8 (sorry, NaHi)
git-svn-id: svn+ssh://ci.ruby-lang.org/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 b91bb12e1f..5d78849b91 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