html2pdf
html2pdf copied to clipboard
[[page_nb]] adds extra padding on the right-hand side
Please see the following code from res/example03.php:
<page_footer>
<table style="width: 100%; border: solid 1px black;">
<tr>
<td style="text-align: left; width: 50%">html2pdf.fr</td>
<td style="text-align: right; width: 50%">page [[page_cu]]/[[page_nb]]</td>
</tr>
</table>
</page_footer>
and the result:
The problem doesn't seem to be specific to <table>
. I could also reproduce it by simply adding [[page_nb]]
directly into <page_footer>
.