gchq
Well-known member
- Joined
- Dec 14, 2007
- Messages
- 168
- Programming Experience
- 10+
In the past a text string saved to a DB and later retrieved to say, a div control, using .InnerHTML has preserved line breaks by using String.Replace(Environment.NewLine, "<br />")..
For some reason that is no longer working. Have I missed some changes, or is it just Friday afternoon?
Thanks
.NET 4.0 | IE 9.0 | VS2010
For some reason that is no longer working. Have I missed some changes, or is it just Friday afternoon?
Thanks
.NET 4.0 | IE 9.0 | VS2010