Here is some text with empty lines (retrieved from a Database) inside a paragraph element:
<p className={styles.biography}>{loaderData.cast.biography} </p>
.biography {
font-size: 1.4rem;
color: #333333;
text-align: justify;
}
Unfortunately, the empty lines are not showing up as expected. For example, this is part of the text fetched from the Database:
to stay new and fresh even after over four decades in the business.
Downey was born April 4, 1965 in Manhattan, New York....
Instead of displaying with blank lines, it appears like this:
https://i.sstatic.net/Fd6EY.png
I attempted changing the P tags to DIVs, but encountered the same issue. Can anyone provide advice on how to render the empty lines from the data within the output P using CSS?