diff options
author | Markus Unterwaditzer <markus@unterwaditzer.net> | 2015-01-14 15:24:02 +0100 |
---|---|---|
committer | Markus Unterwaditzer <markus@unterwaditzer.net> | 2015-01-14 15:24:02 +0100 |
commit | 83dad0d04a32bf996fd0b828626ef40241ab38b2 (patch) | |
tree | b56e0e19608d9f4dbb9315f2f9fcfc77bd751880 | |
parent | bd84046e335bc07cbc0be0499fec033fbddbd9da (diff) |
fix unfolding
-rw-r--r-- | src/vobject/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vobject/lib.rs b/src/vobject/lib.rs index 8e87fd9..cdbfebb 100644 --- a/src/vobject/lib.rs +++ b/src/vobject/lib.rs @@ -207,8 +207,8 @@ pub fn parse_component(s: &String) -> Result<Component, String> { // XXX: The unfolding should be worked into the PEG // See feature request: https://github.com/kevinmehall/rust-peg/issues/26 let unfolded = s - .replace("\n ", "").replace("\n\t", "") .replace("\r\n ", "").replace("\r\n\t", "") + .replace("\n ", "").replace("\n\t", "") .replace("\r ", "").replace("\r\t", ""); parser::component(unfolded.as_slice()) |