From 60f2c9cf5bea6dd99fac50c460eab4809cc30b01 Mon Sep 17 00:00:00 2001 From: drbrain Date: Mon, 7 Feb 2011 07:07:12 +0000 Subject: 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 --- lib/rdoc/markup/pre_process.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/rdoc/markup/pre_process.rb') diff --git a/lib/rdoc/markup/pre_process.rb b/lib/rdoc/markup/pre_process.rb index e59bd227b7..ccc2688050 100644 --- a/lib/rdoc/markup/pre_process.rb +++ b/lib/rdoc/markup/pre_process.rb @@ -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 -- cgit v1.2.3