I used this, but for some reason, for every line break that can be seen in the editor a <br /> is added when previewing the text.
For example, in editor's source:
Hello<br />
How do you do
The same thing in preview looks:
Hello<br /><br />
How do you do
When I save it and go back to editing, I can only see one <br /> tag, but when previewing it displays 2.
This is only a problem in osCMS content, I do now have the same problem when editing product descriptions with FCKEditor.
In product editing, the include is a bit more complicated:
echo tep_draw_fckeditor('products_description[' . $languages[$i]['id'] . ']','600','300',(isset($products_description[$languages[$i]['id']]) ? stripslashes($products_description[$languages[$i]['id']]) : tep_get_products_description($pInfo->products_id, $languages[$i]['id'])));
Suggestions?