Does codemirror normalize CRLF endings?

An issue was reported on Mergely #154 and on investigation, I found that it appears codemirror is changing line endings. E.g.:

// 0x62 0x61 0x6e 0x61 0x6e 0x61 0xd 0xa
doc.setValue('banana\r\n');
// 0x62 0x61 0x6e 0x61 0x6e 0x61 0xa
doc.getValue()

It does, unless you explicitly set a static line ending with the lineSeparator option.

Thanks for the quick response!