From 82f0f0ba8734aae82de715be9f8110744b7d435e Mon Sep 17 00:00:00 2001 From: dave Date: Fri, 26 Dec 2003 05:48:24 +0000 Subject: 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 --- lib/rdoc/markup/simple_markup/to_flow.rb | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lib') 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 -- cgit