summaryrefslogtreecommitdiffstats
path: root/lib/rdoc/markup/simple_markup
diff options
context:
space:
mode:
authordave <dave@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-12-31 05:22:05 +0000
committerdave <dave@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-12-31 05:22:05 +0000
commitc3c265e991dd1082c3f6055ed78cd77220ffbfc9 (patch)
treea2e8331853be0cae230c24e6cdfbd2f8fde24b96 /lib/rdoc/markup/simple_markup
parent57ea42c11270f3e64e364203ed3838c5dc25cbd6 (diff)
Fix problem in ri formatting if heading contains markup
git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@7693 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/rdoc/markup/simple_markup')
-rw-r--r--lib/rdoc/markup/simple_markup/to_flow.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rdoc/markup/simple_markup/to_flow.rb b/lib/rdoc/markup/simple_markup/to_flow.rb
index 401703a72..048e71abc 100644
--- a/lib/rdoc/markup/simple_markup/to_flow.rb
+++ b/lib/rdoc/markup/simple_markup/to_flow.rb
@@ -113,7 +113,7 @@ module SM
end
def accept_heading(am, fragment)
- @res << Flow::H.new(fragment.head_level, am.flow(fragment.txt))
+ @res << Flow::H.new(fragment.head_level, convert_flow(am.flow(fragment.txt)))
end