Log in or register to post comments
Last post
How do I remoce html tag formatting in source
In the source the <p> tag is followeb by a CrLf and some spaces to make the source forammtin look good, how do I prevent it from being there?
Re: How do I remoce html tag formatting in source
I am facing the very same issue, I can't remove/replace the html tag formatting in source. Have you found the answer to this problem? Please let me know. Thanks in advance.
Re: How do I remoce html tag formatting in source
My solution is when I take the text from the box and before adding to the DB, I "replace" the offending characters with nothing

Replace(Replace(Replace(txtMessage.Text, vbCrLf, ""), vbTab, ""), vbLf, "")

I also remove the "&nbsp;" that are in the text