diff options
author | dave <dave@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-04-24 01:39:45 +0000 |
---|---|---|
committer | dave <dave@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-04-24 01:39:45 +0000 |
commit | 8e47df7b6c9d6629de1e7984316fe686a24d13e9 (patch) | |
tree | b3b4f0aaafedfb770337f0bb79fc123fc1cb5233 /lib/rdoc/markup | |
parent | d15f41b0eb0f284cb15ee814c691e556ae20d8b1 (diff) | |
download | ruby-8e47df7b6c9d6629de1e7984316fe686a24d13e9.tar.gz |
Fix bug where consecutive headings were merged
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6210 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/rdoc/markup')
-rw-r--r-- | lib/rdoc/markup/simple_markup.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rdoc/markup/simple_markup.rb b/lib/rdoc/markup/simple_markup.rb index 18971e23e1..21064cb009 100644 --- a/lib/rdoc/markup/simple_markup.rb +++ b/lib/rdoc/markup/simple_markup.rb @@ -453,7 +453,7 @@ module SM #:nodoc: else wantedType = line.type end - wantedLevel = line.level + wantedLevel = line.type == Line::HEADING ? line.param : line.level end end |