javiereguiluz/easybook — pull request #120 by vibrantdavee (2013-09-29 22:38:46+00:00)
Title: Fixed force page breaks syntax for PrinceXML

PrinceXML would not compile page breaks with the force page break syntax ( `{pagebreak}` or ``).

[PrinceXML's page break properties can be applied to block-level elements, table rows and table row groups that occur within an in-flow element.](http://www.princexml.com/doc/9.0/page-breaks/)

Since easybook's page break implementation is [`
`](https://github.com/javiereguiluz/easybook/commit/467763314d48d2b7d9f1beff1555430bd46ec5f7), I changed class `.page-break` to a block-level element with `display: block;`.

I added `page-break-after: always;` so PrinceXML will always page break after the use of the syntax.