pdbook 0.1.10 → 0.1.11
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/pdbook.rb +1 -1
- data/lib/pdbook/converter.rb +1 -1
- metadata +1 -1
data/lib/pdbook.rb
CHANGED
data/lib/pdbook/converter.rb
CHANGED
@@ -18,7 +18,7 @@ module Pdbook
|
|
18
18
|
@options[:margin] = (ENV["margin"].to_f * 1.in) if ENV["margin"]
|
19
19
|
@options[:font_size] = ENV["font_size"].to_f if ENV["font_size"]
|
20
20
|
@options[:spacing] = ENV["spacing"].to_f if ENV["spacing"]
|
21
|
-
@options[:encoding] = ENV["encoding"]
|
21
|
+
@options[:encoding] = ENV["encoding"] if ENV["encoding"]
|
22
22
|
|
23
23
|
@pdb = Palm::PDB.new(input)
|
24
24
|
@log = Logger.new($STDOUT)
|