jaketmp/ePub-quicklook — pull request #12 by chrisridd (2012-02-04 19:43:41+00:00)
Title: Add more tests and sample data

I created metadata.epub in Sigil that has some tricky things like funny (XML) characters, multiple authors, and lots (and lots!) of contributors. It has no cover, which seems to cause some problems.

I replaced the -author method with -authors, which returns an array. The caller has to do the joining with commas - the NSArray category added earlier is easily used for this.

More tests are added, and they all pass.

The unit tests seem actually useful - they detected the broken XPath query leaving empty authors.