crater-invoice / crater

Open Source Invoicing Solution for Individuals & Businesses
https://craterapp.com
GNU Affero General Public License v3.0
7.62k stars 1.53k forks source link

Line breaks are ignored in custom notes #1220

Open JanLlamaman opened 1 year ago

JanLlamaman commented 1 year ago

Describe the bug I have three text blocks in a custom note that I would like to use in the invoice, the three blocks are separated by line breaks in the editor but when I create the invoice PDF the blocks are just sticking underneath each other without a line break.

Expected behavior I would expect the line break from the note editor to be reflected in the invoice pdf where the note is used.

Please complete the following information:

Happy to provide more information if needed.

khatriafaz commented 11 months ago

@JanLlamaman can you explain more?

I tried reproducing this, I have added the text as 3 blocks, please check the image: image

And this is how it turns out in the PDF: image

For me it looks the way it should. If you can share the screenshots with the content you have filled and the output you see on the PDF, that will be more helpful.