CodePlexProject Hosting for Open Source Software
Is there anyway to stop Sanitizer.GetSafeHtmlFragment stripping out the line breaks? I am using it on a textarea and need the line breaks left in, or all I get is just a huge block of text back?
Anyone? Or can't it be done? :(
I'm afraid it can't.
Its unfortunate it can't. What I've found is it finds <br /> not save and replaces it with the not standard <br> tag.
Are you sure you want to delete this post? You will not be able to recover it later.
Are you sure you want to delete this thread? You will not be able to recover it later.