I have html code in a C # line. If I look with the Visual Studio text visualizer, I see that it has a lot of new lines. However, after applying this code
string modifiedString = originalString.Replace(Environment.NewLine, "<br />");
and then I look with the help of Text Visualizer on modifiedString, I see that it no longer has new lines, except for three places. Are there other types of characters that resemble a new line, and am I missing?
peter source share