I am trying to add new lines from a text area, but when I send the data to the API in json format folowing is the format.
{
day: "2018-07-30"
notes: "Enter↵New↵Lines↵in↵Textarea↵"
time: "4"
}
as you can see in the given object "notes" property has a special character added for enter. How to handle this json format and again populate it to matTooltip with new lines.
Expected output:
Enter
New
Lines
in
Textarea
Current Output: Enter↵New↵Lines↵in↵Textarea↵