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

Notifications

Announcements

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,129 Super User 2025 Season 2 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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 501 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 323 Moderator

#3
abm abm Profile Picture

abm abm 237 Most Valuable Professional

Last 30 days Overall leaderboard