I'm displaying an address to a user on a ASP.Net page using a label. The new lines are converted from
Environment.NewLine
to
<br />
If a user edits the address, the address is displayed in a text area and the
<br />
is replaced with
Environment.NewLine
Sometimes the address saved to the database only has the line feed. Given how often this happens, it looks like it could be happening for Linux or OSX users.
Does Environment.NewLine return the new line value of the client's browser or of the server, or could it something else?