built a simple site using a CMS combining MySQL for the back end and PHP to display it all. I have an admin page that has a form comprising of several textareas so the client can update the contents of the site himself.
Any formatting - eg. user line breaks - is inserted into the database and works a-ok. However, when using Safari (I'm running OS X 10.5.1 and Safari 3.0.4), all the line-ends - ie. where the text wraps in the individual textareas - are somehow inserted into the database as <br>. This bug only occurs in Safari.
I have wasted an hour on this and I cannot find any solutions online that work for me. I found a thread with someone who had a similar problem, and the suggestion was to make sure to insert
Expand|Select|Wrap|Line Numbers
- wrap="soft"
Expand|Select|Wrap|Line Numbers
- wrap="virtual"
I was hoping that someone here would have come across this problem before and could tell me why this is happening / a solution. To reiterate, there are no problems with the coding of the page as this is only happening in safari, not IE6/7 or Firefox.
Cheers