web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / HTML to PDF convert fi...
Power Automate
Unanswered

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

(0) ShareShare
ReportReport
Posted on 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!
 
Categories:
I have the same question (0)
  • Nived_Nambiar Profile Picture
    18,138 Super User 2026 Season 1 on at
    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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Vish WR Profile Picture

Vish WR 791

#2
Valantis Profile Picture

Valantis 568

#3
Haque Profile Picture

Haque 535

Last 30 days Overall leaderboard