I have a simple HTML file template where am populating values from SharePoint list item in it dynamically while running the flow. The final html after populating values looks like below.

After the step (Ondrive)"Convert File" and creating file pdf, it looks like below after loosing all formatting. How can I retain the formatting? What is the best and efficient way to convert SharePoint list item to PDF with formatting. I dont want to go for any premium connectors. Please help.
