Fix: Output formatting

The header-content separator dashes were completely missing. Shame on
me.
This commit is contained in:
Matthias Beyer 2015-12-03 18:11:01 +01:00
parent e31239b02b
commit e72c1c68b9

View file

@ -118,7 +118,8 @@ impl<HP> Parser<HP> 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<TextTpl, ParserError> {