How do I save user-entered line breaks from a HTML element to a database? It always removes the line breaks.
I noticed that breakable content saved normally if textarea is inside a html form. But if I use textarea without any form and try to edit a long text in it, insert line breaks and save content via ajax, it's saved as a merged text into database