I am using below code.
<?
echo nl2br( 'The situation deteriorated into attacks on New York elite, followed by attacks on black New Yorkers and their property after fierce competition for a decade between
Irish immigrants and black people for work. Rioters burned the Colored Orphan Asylum to the ground.' , false ) ;
?>
I am getting output like below
The situation deteriorated into attacks on New York elite, followed by attacks on black New Yorkers and their property after fierce competition for a decade between <br>
Irish immigrants and black people for work. Rioters burned the Colored Orphan Asylum to the ground.
I would like to get output without <br>
but I need a line break (New Line) at that point.
via abu abu