hql287 / Manta

🎉 Flexible invoicing desktop app with beautiful & customizable templates.
https://www.getmanta.app
GNU Lesser General Public License v3.0
5.28k stars 478 forks source link

Multi-line input for Notes #334

Open Dreamspectre opened 5 years ago

Dreamspectre commented 5 years ago

Expected Behavior

Using a line break or new line entry (shift-return or return) carries over to the invoice preview and generated PDF as displayed in the invoice creation view.

Current Behavior

Entering information on multiple lines shows as expected when filling out the invoice, but truncates into a single line in the preview and PDF.

Possible Solution

To be perfectly honest, I haven't looked through the source yet, as I used the installer. But it seems like the line reader is ignoring new line characters, or formatting the text in some way.

Steps to Reproduce (for bugs)

  1. Enter a line of data into the Note field.
  2. Hit return or shift-return.
  3. Enter additional data.
  4. Preview the invoice.

Context

I am attempting to add thank-you notes, as well as provide promotional or additional information, and having line breaks would ensure that the information is consumed as being unrelated, as well as appearing more professional.

Your Environment