diff options
author | dave <dave@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-12-25 19:59:39 +0000 |
---|---|---|
committer | dave <dave@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-12-25 19:59:39 +0000 |
commit | 12fa30df31f0c4247c8591b19673a72d0342de28 (patch) | |
tree | d1c2807898a072ec32b9744b68adcab1f2fb4a6e /lib/rdoc/markup | |
parent | 6891685f93916786dc5bc2f0d69c2481a2692a91 (diff) | |
download | ruby-12fa30df31f0c4247c8591b19673a72d0342de28.tar.gz ruby-12fa30df31f0c4247c8591b19673a72d0342de28.tar.xz ruby-12fa30df31f0c4247c8591b19673a72d0342de28.zip |
Fix problem with rule calculation
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5296 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/rdoc/markup')
-rw-r--r-- | lib/rdoc/markup/simple_markup/to_flow.rb | 2 |
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 |