melib/compose: replace CRLF with LF when editing
Signed-off-by: Manos Pitsidianakis <manos@pitsidianak.is>pull/314/head
parent
7387b67eee
commit
bfc78a0803
|
@ -286,7 +286,10 @@ impl Draft {
|
|||
}
|
||||
|
||||
ret.push('\n');
|
||||
ret.push_str(&self.body);
|
||||
for line in self.body.lines() {
|
||||
ret.push_str(line);
|
||||
ret.push('\n');
|
||||
}
|
||||
|
||||
ret
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue