eol added to buffer again.

commit ef4267e407f6daa801e7cf7a2be8f175ae236dfa reverted


This commit was reverted because it didn't solve our problem and it creates a lot of issues.