Rotativa icon indicating copy to clipboard operation
Rotativa copied to clipboard

Current page higher than total pages in footer

Open fredrik-lundin opened this issue 9 years ago • 1 comments

Generated PDF is showing "126/125" on last page. The exact same configuration are working on other reports with the exact same code.

This is the code used for creating the footer: const string CUSTOM_SWITCHES = "--footer-center \"[page]/[topage]\" --encoding utf-8";

fredrik-lundin avatar Jan 31 '17 12:01 fredrik-lundin

It turns out the adding a <br /> temporary solves the issue. Very strange since the last page if roughly half full of content (adding the blank line doesn't push the content to a new page, it looks almost identical).

This seems to be some kind of rendering problem

fredrik-lundin avatar Feb 01 '17 09:02 fredrik-lundin