summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/vobject/lib.rs2
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())