Page 1 of 1

newline shows in User Control Panel Desctiption?

Posted: 16 Mar 2010, 10:27
by mathg
Hi. I have enabled the user control panel to be able to upload images from the frontpage. But when I enter a description text, i'm not able to insert a newline. If I do it from backend it looks nice, but when I reopen the description from frontend User Control Panel, it shows as a </br>. I have been searching for help, but have not been able to find any :( Hope you can help? Kind regards.

Re: newline shows in User Control Panel Desctiption?

Posted: 16 Mar 2010, 15:36
by Jan
Hi, in frontend you can only add text as description, it is because of security reasons :-(

Jan

Re: newline shows in User Control Panel Desctiption?

Posted: 16 Mar 2010, 16:20
by mathg
Hi Jan

Thanks for the reply.

I might not have quite explained what my problem is, or mabye I just misunderstand. But I'm trying to write three lines in the description.

Name
Phone
Age

Backend is fine, but if I enter same information in the frontend, it ends up looking like this:

Name Phone Age

If I open the description entered backend, in the User Control Panel editor it looks something like this:

Name</br >Phone</br > Age</br >

Isn't it possible to enter line break in the frontend or is that considered "code"/html?

Kind regards.

Re: newline shows in User Control Panel Desctiption?

Posted: 16 Mar 2010, 19:00
by reko
if the line breaks it really look like you posted

Code: Select all

</br >
, then you found a bug. HTML line breaks are supposed to be

Code: Select all

<br />
.
if so report to Jan!
thx,
rk

Re: newline shows in User Control Panel Desctiption?

Posted: 21 Mar 2010, 00:36
by mathg
No sorry you are right. But I still can't make the description look good, if its not possible to enter a Line Break from the front end. I'm trying to avoid letting users into the backend to be able to upload images with a description.

Re: newline shows in User Control Panel Desctiption?

Posted: 28 Mar 2011, 21:11
by pacc
I too am very interested to put the function back in <br /> just that is absolutely correct in front is not all bad as we can solve??