Skip to main content

Notifications

Community site session details

Community site session details

Session Id : 1HRckbgETTGZKOo0xnG7FJ
Power Automate - Building Flows
Unanswered

HTML to PDF convert file using path: style (font, format bold, italic etc) error

Like (0) ShareShare
ReportReport
Posted on 31 Jul 2024 16:11:43 by 2
Hello, 
 
I created a simple flow to generate a HTML file with text, styled, and convert it using path to a PDF.
The flow worked perfectly until one day when I must have changed something and the styling (font, bold) - that shows up correctly in the html file - got lost during conversion.
I have created a new flow (a simple one where I copied a code from a topic I have found here) to test and I have the problem from the start.
 
This is the flow and the code I have:
This is the HTML file:
 
And this is the PDF (as you can see, the bold part is not bold):
 
This is how the PDF would look like with bold text:
 
In my original flow I have more problems: spaces, bad alignments etc, but I have to start from somewhere.
I'm clueless, I haven't find my solution on this community (I have tries some but nothing works for me); it can't be the fact that I use a Mac, because the files are generated in OneDrive.
 
Thanks!
 
  • Nived_Nambiar Profile Picture
    17,654 Super User 2025 Season 1 on 31 Jul 2024 at 17:48:17
    HTML to PDF convert file using path: style (font, format bold, italic etc) error
    Hi,
     
    for me bold part formatting is still present even converting to pdf from html.
     
    Thanks & Regards,
    Nived N 
    LinkedIn: Nived N's LinkedIn
    YouTube: Nived N's YouTube Channel
    Blog: Nived Nambiar's Blogs
     Found my answer helpful? Please consider marking it as the solution!
     Your appreciation keeps me motivated. Thank you!

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Leaderboard >