javiereguiluz/easybook — pull request #88 by magabriel (2012-10-29 19:06:13+00:00)
Title: Epub: Fix usage of twig namespaces when rendering templates

Using namespaces when rendering templates other than the easybook standard css file `@theme/style.css.twig` was precluding the usage of customized templates per book or edition.

This PR removes namespaces from each call to `render()` in `Epub2Publisher' class except the one that generates the easybook css file `@theme/style.css.twig`, which is the only one that doesn't make sense to be overriden by the user. This lets the namespaces functionality of twig take care of choosing the right template.

**Note to self:** when PR https://github.com/javiereguiluz/easybook/pull/85 gets merged, a similar fix will need to be implemented for the new code.