I have a form in asp that does some javascript error checking them shows a preview of the form information before the user submits it to our database. To enable light formatting before submission we replace all of the line breaks with tags.
<textarea name="DATA_Description" ROWS=30 wrap=on cols="30"><%=DATA_Description%></textarea>
Replacing line break with
<%=replace(DATA_Description,vbcr,"<BR>")%>
This works perfectly in all browsers with the exception of Chrome. Chrome is inserting an extra line break at the end of each line in the textarea. We use the text in multiple width areas with multiple font styles so i need the line breaks to only occur when the user actually enters a hard return...
Any suggestions?