diff --git a/src/storage/parser.rs b/src/storage/parser.rs index d55b7e70..bdd23f19 100644 --- a/src/storage/parser.rs +++ b/src/storage/parser.rs @@ -118,7 +118,8 @@ impl Parser where let h_text = try!(self.headerp.write(&header)); debug!("Success translating header"); - Ok(h_text + &data[..]) + let text = format!("---\n{}\n---\n{}", h_text, data); + Ok(text) } fn divide_text(&self, text: &String) -> Result {