Hi @mattthew,
Could you please share a bit more about your scenario?
How do you convert your HTML Text into a PDF file?
I have made a test on my side, and don't have the issue that you mentioned. Please take a try with the following workaround:

In order to convert a HTML Text content into a PDF content within an app, you could consider take a try to add a MuhimbiPDF connector within your app to achieve your needs.
Add a HTML Text control (HtmlText1) within your app, set the HtmlText property to following:
"<table width='100%' border='1' cellpadding='5' style='border:0px solid black; border-collapse:collapse'>" &
"<tr style='background-color:#efefef'>
<th>Company</th>
<th>Team </th>
</tr>
<tr>
<td>Microsoft</td>
<td>PowerApps</td>
</tr>
<tr>
<td>Microsoft</td>
<td>Power BI</td>
</tr>
<tr>
<td>Mac</td>
<td>iPhone</td>
</tr>
</Table>"
Add a Button ("Send Email") within my app, set the OnSelect property to following:
Office365.SendEmail(
"Test1@xxxxx.xxmicrosoft.com",
"PowerApps Email Sending Test",
HtmlText1.HtmlText,
{
IsHtml: true,
Attachments:Table({Name:"Table.pdf", ContentBytes:MuhimbiPDF.converthtml(HtmlText1.HtmlText).processed_file_content, '@odata.type':""})
}
)
On your side, you should type:
Office365.SendEmail(
"Your Email Address", /* <-- Type your email address here */
"PowerApps Email Sending Test",
HtmlText1.HtmlText,
{
IsHtml: true,
Attachments:Table({Name:"Table.pdf", ContentBytes:MuhimbiPDF.converthtml(HtmlText1.HtmlText).processed_file_content, '@odata.type':""})
}
)
The email sends well as below:
Please check if you have typed proper HTML Text within your app, please check the above HTML Text I provided as a reference.
More details about the usage of MuhimbiPDF connector within PowerApps, please check the following blog:
http://blog.muhimbi.com/2017/08/convert-powerapps-data-to-pdf.html
More details about MuhimbiPDF connector, please check the following article:
https://docs.microsoft.com/en-us/connectors/muhimbi/
More details about sending a HTML table email within PowerApps, please check the following blog:
https://powerapps.microsoft.com/en-us/blog/html-email-reporting-with-tabular-data/
Best regards,