You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 11, 2023. It is now read-only.
Fix a bug with CSS attribute selector without any prefix where "foo [bar]" was treated as "foo[bar]". (#1174)
Since this fix, cover parsing fails in /models/cover.rb.
Spaces should be removed in CSS attribute selectors in epub_cover_item method (lines 78 and 82 to 85).
Ex: manifest.css("item [id = \"#{cover_id}\"]")
should become manifest.css("item[id = \"#{cover_id}\"]")
I did not see any other impact of this Nokogiri fix in epubinfo.
Thanks.
Nokogiri 1.6.4 / 2014-11-04 release announcement mentions this fix:
Since this fix, cover parsing fails in /models/cover.rb.
Spaces should be removed in CSS attribute selectors in epub_cover_item method (lines 78 and 82 to 85).
Ex:
manifest.css("item [id = \"#{cover_id}\"]")should become
manifest.css("item[id = \"#{cover_id}\"]")I did not see any other impact of this Nokogiri fix in epubinfo.
Thanks.