I recently attempted to convert an HTML/CSS document into a PDF file using the pdflayer.com API. Everything seemed to be working well, but I encountered a problem with line breaks splitting lines, as shown in this photo:
https://i.sstatic.net/1tqKM.jpg
Is there a solution to this issue? I also attempted to use html2pdfrocket.com, but encountered the same problem.
The text is contained within the following HTML structure:
<html>
<body>
<div class="overall">
<div class="content">
<div class="wrapper">
<div class="article">
Text