mpdf / mpdf.github.io

mPDF documentation
https://mpdf.github.io
Other
508 stars 160 forks source link

Example code not working? #50

Open strider72 opened 7 years ago

strider72 commented 7 years ago

See the example code at the bottom of https://mpdf.github.io/reference/html-control-tags/pagebreak.html

There's no actual <pagebreak> used in any of it. The examples don't actually give examples. Were the tags omitted somehow?

Klap-in commented 7 years ago

That is a good observation. A little search reveals that during a cleanup these tags are accidentally removed.

https://github.com/mpdf/mpdf.github.io/commit/4c8a151a6c76252018a1750cb750877fa7fb3172#diff-8646484ae7b174d534a4971d39b7b9cf I guess that the closing tag of the pagebreak screws up some selections of the scripted paragraph conversion.