Blank page added before HTML Table

WordPress
March 10, 2025 11:44:45
wdd
Topics: 3
Messages: 9
Hi there,

I have successfully output a table with my repeater content in it and I am really happy.
Unfortunately, when I export the PDF, a blank page is added before the content starts and I can't seem to remove it.
The acf repeater spans across multiple pages but there is no CSS/padding on the table at the top to cause this glitch?

The contents of the HTML box is:

<table style="vertical-align: top;">
[e2pdf-acf-repeater field="itinerary"]
<tr style="border-bottom: 1px; border-color: #4f5293">
<td width="50%" style="vertical-align: top;">
<p style="font-size: 12px; font-weight: bold;"><span style="font-weight: 900; color: #4f5293; letter-spacing: 1; font-size: 10px;">[e2pdf-format-output filter="strtoupper"][acf field="day_title"][/e2pdf-format-output]</span><br/>[acf field="title"]</p>
[e2pdf-format-output filter="wpautop"][acf field="text"][/e2pdf-format-output]
</td>
<td width="50%" style="text-align: right; vertical-align: top;">
<img src='[e2pdf-wp key="itinerary_[e2pdf-acf-repeater-index]_image" meta="true" attachment_image_url="true" size="full"]' width='200px' height='auto'/>
</td>
[/e2pdf-acf-repeater]
</table>

I have attached an image of it correctly outputting, and another to show the blank page before it.
I have tried putting it at the top of the document to make sure it is this element and confirmed this element is the issue
I have tried removing and adding bits of the table to see what triggers this issue.

At the most basic form this is the code and you can see the output in the screenshot. It seems to add needless padding/spacing above the table?

<table>
[e2pdf-acf-repeater field="itinerary"]
<tr>
<td>[e2pdf-format-output filter="strtoupper"][acf field="day_title"][/e2pdf-format-output]</td>
</tr>
[/e2pdf-acf-repeater]
</table>

March 10, 2025 11:46:25
wdd
Topics: 3
Messages: 9
Found the issue. It is the new line to </br> checkbox. How can I add padding to each row of my table?
March 10, 2025 11:47:49
wdd
Topics: 3
Messages: 9
Again, padding fixed!
Get News and Updates
Our monthly newsletter keeps you in the loop, so you'll always be up to date with the latest news and updates about E2Pdf.
* You can update your email subscription preferences here.
All trademarks, service marks, trade names, product names, and logos appearing on this website are the property of their respective owners. The use of trademarks such as Formidable Forms®, Forminator Forms®, Gravity Forms®, JetFormBuilder®, WordPress®, WooCommerce®, WPForms® and others is solely for identification purposes (nominative use) and does not imply any affiliation, sponsorship, or endorsement by the respective trademark holders.
© 2017 - 2026, https://e2pdf.com

We use cookies to collect and analyse information on site performance and usage, to provide social media features and to enhance and customise content and advertisements. By clicking "Accept Selected", you consent to use of selected cookies according to our Cookie Policy.