Rotativa
Rotativa copied to clipboard
Current page higher than total pages in footer
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";
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