Line ending (\n) in IE

When users enters text in IE. Line endings are stored as \r\n (or CR LF). When this text is displayed in a grid. The row becomes as big as the text, where other browser ignore the line endings. Now, every time a user enters text, i have to replace all \r\n by \n. My question is, if this could be handled by Mendix and if there are any downsides by doing this?
1 answers

You could use the Before Commit event and change all the \r\n with the replaceAll function. See String function calls