Skip to main content

Notifications

Community site session details

Community site session details

Session Id : NvxGMW12OXnp0TQDkFQINh
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,570 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

Understanding Microsoft Agents - Introductory Session

Confused about how agents work across the Microsoft ecosystem? Register today!

Warren Belz – Community Spotlight

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

Congratulations to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Power Automate - Building Flows

#1
stampcoin Profile Picture

stampcoin 97

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 70 Super User 2025 Season 1

#3
David_MA Profile Picture

David_MA 48 Super User 2025 Season 1

Overall leaderboard
Loading started