summaryrefslogtreecommitdiff
path: root/lib/rdoc/markup/pre_process.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/rdoc/markup/pre_process.rb')
-rw-r--r--lib/rdoc/markup/pre_process.rb2
1 files changed, 1 insertions, 1 deletions
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