Skip to content

Commit

Permalink
fix htmlversion when epubversion==3
Browse files Browse the repository at this point in the history
  • Loading branch information
takahashim committed Jun 24, 2015
1 parent 41fa856 commit ce87578
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/epubmaker/producer.rb
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,7 @@ def complement
end
end

@params["htmlversion"] == 5 if @params["epubversion"] >= 3
@params["htmlversion"] = 5 if @params["epubversion"] >= 3

%w[bookname title].each do |k|
raise "Key #{k} must have a value. Abort." if @params[k].nil?
Expand Down

0 comments on commit ce87578

Please sign in to comment.