Ok, so i had the paragraphs displaying fine when pulled out of a database. Using CSS i had the line...
white-space: pre-line;
New lines for paragraphs were displaying great.
But then i added some code to make the first letter of every sentence capitalized. The code is...
$description = htmlentities(strip_tags($_POST['desc']), ENT_QUOTES);
$desc = preg_replace_callback('/([.!?])\s*(\w)/', function ($matches) {
return strtoupper($matches[1] . ' ' . $matches[2]);
}, ucfirst(strtolower($description)));
So although it worked it now does not render the new lines for new paragraphs. In other words it is ignoring the CSS line above or something.
Any ideas??