gevorg
09-26-2007, 05:13 PM
May I suggest adding the following code to line 1764 of global.php to process line breaks in the full description field?
This is necessary when users do not use the "Advanced Editor" to modify the look of the description and would like to add line breaks.
The line breaks are saved in the database, but when the page is rendered, they are disregarded.
//Process Line Breaks
$product['full_desc'] = str_replace( "\n" , "<br />" ,$product['full_desc']);
This is necessary when users do not use the "Advanced Editor" to modify the look of the description and would like to add line breaks.
The line breaks are saved in the database, but when the page is rendered, they are disregarded.
//Process Line Breaks
$product['full_desc'] = str_replace( "\n" , "<br />" ,$product['full_desc']);