From ce87578ecc8bd25ec4ecd38dbed6bd67a9eebecf Mon Sep 17 00:00:00 2001 From: takahashim Date: Wed, 24 Jun 2015 20:00:55 +0900 Subject: [PATCH] fix htmlversion when epubversion==3 --- lib/epubmaker/producer.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/epubmaker/producer.rb b/lib/epubmaker/producer.rb index ba4040060..51c9631ba 100644 --- a/lib/epubmaker/producer.rb +++ b/lib/epubmaker/producer.rb @@ -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?