mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Upgrade to RDoc 3.5.3. Fixes [Bug #4376]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30815 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
ca9f7009db
commit
60f2c9cf5b
11 changed files with 204 additions and 34 deletions
|
@ -120,7 +120,7 @@ class RDoc::Markup::PreProcess
|
|||
return ''
|
||||
end
|
||||
|
||||
content = RDoc::Encoding.read_file full_name, encoding
|
||||
content = RDoc::Encoding.read_file full_name, encoding, true
|
||||
|
||||
# strip magic comment
|
||||
content = content.sub(/\A# .*coding[=:].*$/, '').lstrip
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue