I'm trying to format a user input (multi row) in a application. The text that's returned could be like this:
"This is \r\na test\r\nwith rowbreaks"
This later is sent by email and the text just formats like this:
"This is a test with rowbreaks"
How can I format this to HTML? I've tried HttpUtility.HtmlEncode, but that returns just the same with \r\n.