ppresume / community

Discussions, feedbacks, roadmaps, community.
59 stars 3 forks source link

bug: remove extra blank pages in the end of the PDF #13

Open xiaohanyu opened 11 months ago

xiaohanyu commented 11 months ago

Description

In some very rare cases, there would be an extra, unnecessary blank page in the generated PDF.

To Reproduce

TBD, pending for test data.

Actual Behavior

Expected Behavior

If the last page do not have any content, then if should be removed.

[Optional] Screenshots

TBD, pending for test data.

Desktop

Smartphone

Additional Context

Right now the current workaround if to use right settings to adjust margins and then regenerate the PDF to see whether this extra blank page got removed.