julien-c / epub

node.js epub reader
https://www.npmjs.com/package/epub
Other
335 stars 307 forks source link

Fix TypeError: (((branch[i].navLabel && branch[i].navLabel.text) || b… #26

Closed dengelke closed 7 years ago

dengelke commented 7 years ago

Fixing "TypeError: (((branch[i].navLabel && branch[i].navLabel.text) || branch[i].navLabel) || "").trim is not a function" error