diff options
author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2020-03-08 17:38:37 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2020-03-08 17:38:37 +0900 |
commit | 2b7409a2f2aaab1368c57e1cd03c12b2b8972fa9 (patch) | |
tree | 1d3d2d2c5c91cd732fc093f0245acf6d67bf718c /lib/rdoc/markup/pre_process.rb | |
parent | 53efe6328057ccb604a81541080aab3b3e1268d7 (diff) | |
download | ruby-2b7409a2f2aaab1368c57e1cd03c12b2b8972fa9.tar.gz |
Specify explicit separator not to be affected by $;
Diffstat (limited to 'lib/rdoc/markup/pre_process.rb')
-rw-r--r-- | lib/rdoc/markup/pre_process.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rdoc/markup/pre_process.rb b/lib/rdoc/markup/pre_process.rb index d9e0dcac14..3080ae3578 100644 --- a/lib/rdoc/markup/pre_process.rb +++ b/lib/rdoc/markup/pre_process.rb @@ -178,7 +178,7 @@ class RDoc::Markup::PreProcess blankline when 'include' then - filename = param.split.first + filename = param.split(' ', 2).first include_file filename, prefix, encoding when 'main' then @options.main_page = param if @options.respond_to? :main_page |