summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarkus Unterwaditzer <markus@unterwaditzer.net>2015-01-15 20:30:35 +0100
committerMarkus Unterwaditzer <markus@unterwaditzer.net>2015-01-15 20:30:35 +0100
commit1c8336e94ec1c9e47fb022441b9386699921909a (patch)
tree0508a90da3f020742f33103f0e91e50cb9f3c759
parent1697fc0ecfd86d770deb7a9824bd8f2376606313 (diff)
Generate newline
-rw-r--r--src/vobject/lib.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/vobject/lib.rs b/src/vobject/lib.rs
index d5ff1ed..dfec0a8 100644
--- a/src/vobject/lib.rs
+++ b/src/vobject/lib.rs
@@ -233,6 +233,7 @@ pub fn write_component(c: &Component) -> String {
};
buf.push(':');
buf.push_str(fold_line(prop.raw_value.as_slice()).as_slice());
+ buf.push_str("\r\n");
};
};