krayin/laravel-crm

Notes - No newlines shown

pablorq opened this issue · 4 comments

Bug report

Title

When a note on a lead is created, the newlines (\n) are lost and the resultant text is almost unreadable.

Issue Description

The notes are an excellent tool to keep all the details related to a lead.
But when the note has some lines, with each newline character, all the lines get concatenated and the newline character are lost. This result in a text where everything is altogether and it's hard to read or get the different ideas.

Preconditions

1. framework Version: 1.2.4
2. Commit id.: ?

Steps to reproduce

1. Create a lead
2. Create a note in the lead, with several lines (7-10 lines for example)
3. Save the note
4. View the note
5. All lines are concatenated

Expected result

Keep text and lines as were written.

Actual result

All lines are concatenated.