lib/softcover/builders/epub.rb in softcover-1.1.8 vs lib/softcover/builders/epub.rb in softcover-1.1.9

- old
+ new

@@ -378,10 +378,10 @@ # Removes the '#book' CSS id. # For some reason, EPUB books hate the #book ids in the stylesheet # (i.e., such books fail to validate), so remove them. def clean_book_id(filename) - File.read(filename).gsub(/#book/, '') + File.read(filename).gsub(/#book /, '') end # Copies the image files from the HTML version of the document. def copy_image_files # Copy over all images to guarantee the same directory structure. \ No newline at end of file