Skip to content

Commit

Permalink
fix output eol settings
Browse files Browse the repository at this point in the history
  • Loading branch information
takahashim committed Feb 2, 2024
1 parent 40b1c84 commit 00134be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/aozora2html.rb
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ def initialize(input, output, gaiji_dir: nil, css_files: nil)
@out = if output.respond_to?(:print) ## writable IO?
output
else
File.open(output, 'w')
File.open(output, 'wb')
end
@gaiji_dir = gaiji_dir || '../../../gaiji/'
@css_files = css_files || ['../../aozora.css']
Expand Down

0 comments on commit 00134be

Please sign in to comment.