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

Allow <p> tags in string formatting #1225

Open Seb33300 opened 1 year ago

Seb33300 commented 1 year ago

Hello,

I would like to suggest to keep <p> tags when formatting strings. I ran into an issue where I was not able to format my text as I would like and I found that this was the cause of my issue.

I think this should be the users responsibility to format his text properly using paragraphs (or not).

If you dont want to create a new paragraph, you can create a new line with Shift + Enter => <br> is created instead of <p>. This is how all rich text inputs work (even Microsoft Word). (I checked and crater rich text component also works like this)