php uses tcpdf, and the pdf file generated by html has misplaced text paragraphs. What do you need to do?
text paragraphs are normal for typesetting under html, that is, when generating pdf files, text paragraphs are misplaced
1 and html, as shown in figure:
2html
3pdf
.I don"t know what the problem is and how to solve it?