I've two problems:
1. The created pdf doesn't show the line breaks, I included in my WordPress post with <p>...</p>. There is just one block with text, no line breaks in the pdf.
2. I use image captions in my WordPress posts. The general code is of this type: [caption id="attachment_xyz" caption="..."]<img src="..."/>[/caption]. The created pdf file includes the images, but prints the captions code before and after the image.
What should I do to resolve the problems? Thank you!