mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Leave HTML escaped for HtmlFormatter.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10671 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
2311929dd1
commit
75a60a8174
1 changed files with 1 additions and 3 deletions
|
@ -554,9 +554,7 @@ module RI
|
||||||
|
|
||||||
def display_verbatim_flow_item(item, prefix=@indent)
|
def display_verbatim_flow_item(item, prefix=@indent)
|
||||||
print("<pre>")
|
print("<pre>")
|
||||||
item.body.split(/\n/).each do |line|
|
puts item.body
|
||||||
puts conv_html(line)
|
|
||||||
end
|
|
||||||
puts("</pre>")
|
puts("</pre>")
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue