mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Fix bug where consecutive headings were merged
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6210 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
d15f41b0eb
commit
8e47df7b6c
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
Sat Apr 24 10:38:31 2004 Dave Thomas <dave@pragprog.com>
|
||||
|
||||
* lib/rdoc/markup/simple_markup.rb (SM::SimpleMarkup::group_lines):
|
||||
Fix bug where consecutive headings are merged.
|
||||
|
||||
Fri Apr 23 23:24:47 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* lib/mkmf.rb: $hdrdir should not contain macros, for backward
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue