Skip to content

Commit

Permalink
Merge pull request #434 from kmuto/fix-htmlversion
Browse files Browse the repository at this point in the history
fix htmlversion when epubversion==3
  • Loading branch information
takahashim committed Jun 25, 2015
2 parents 41fa856 + ce87578 commit 75bb900
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 75bb900

Please sign in to comment.