converting the content of a textbox to html?
I want all the returns (vbcrlf's) and the white spaces to show in HTML. I have two solutions:
1) I used the <pre> tag
2) I replaced vbCrLf's with <br> and the spaces with & nbsp; when converting to HTML
now I have a problem with each. First of all, isn't there a better way to convert the content of a textbox to HTML? I thought replacing all the returns with <br> and replacing double splaces with two nbsp's might be kinda stupid, so I thought I should use <pre>, but my problem with <pre> is that if I have a long line of text, it doesnt let that text wrap in a tableCell. I tried <Pre Wrap> also, but it didnt work....
so can someone tell me about converting the textbox content to html, and also tell me how can I make the content wrap when I'm using the <pre> tag (I enclosed the content of a tableCell in <pre>)