the moose
10-20-2009, 04:22 PM
I've got an HTML textarea that is the input for a large bit of text.
Sometimes, the user will hit return on their keyboard and this will of course drop the text after onto the line below.
The problem I'm having is that I want it to display like it is entered when it is output from the database, but I have no idea how to do this without using an javascript based WYSIWYG HTML editor which I don't want to do as it is massive overkill for what I want to do.
Any ideas?
Cheers
The Moose
Sometimes, the user will hit return on their keyboard and this will of course drop the text after onto the line below.
The problem I'm having is that I want it to display like it is entered when it is output from the database, but I have no idea how to do this without using an javascript based WYSIWYG HTML editor which I don't want to do as it is massive overkill for what I want to do.
Any ideas?
Cheers
The Moose