Commit 23ddd73
authored
Fix epub specification violation (#113)
According to the epub
specifications (https://www.w3.org/TR/epub/#sec-zip-container-mime) epub
creators must not compress the mimetype file in the epub. The updated RemoveDrm
function creates a new zip file with using the `ZIP_DEFLATED` compression
method for all the files, except mimetype1 parent 1e15143 commit 23ddd73
1 file changed
+4
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
39 | | - | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
0 commit comments