1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Update to RDoc 2.1.0 r112

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18147 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
drbrain 2008-07-21 18:35:14 +00:00
parent c62db0676b
commit cd9e9c6deb
19 changed files with 460 additions and 285 deletions

View file

@ -174,21 +174,16 @@ class RDoc::Markup::AttributeManager
def flow(str)
@str = str
puts("Before flow, str='#{@str.dump}'") if $DEBUG_RDOC
mask_protected_sequences
@attrs = RDoc::Markup::AttrSpan.new @str.length
puts("After protecting, str='#{@str.dump}'") if $DEBUG_RDOC
convert_attrs(@str, @attrs)
convert_html(@str, @attrs)
convert_specials(str, @attrs)
unmask_protected_sequences
puts("After flow, str='#{@str.dump}'") if $DEBUG_RDOC
return split_into_flow
end
@ -215,8 +210,6 @@ class RDoc::Markup::AttributeManager
end
def split_into_flow
display_attributes if $DEBUG_RDOC
res = []
current_attr = 0
str = ""