Fix: Output formatting
The header-content separator dashes were completely missing. Shame on me.
This commit is contained in:
parent
e31239b02b
commit
e72c1c68b9
1 changed files with 2 additions and 1 deletions
|
@ -118,7 +118,8 @@ impl<HP> Parser<HP> where
|
||||||
let h_text = try!(self.headerp.write(&header));
|
let h_text = try!(self.headerp.write(&header));
|
||||||
debug!("Success translating 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> {
|
fn divide_text(&self, text: &String) -> Result<TextTpl, ParserError> {
|
||||||
|
|
Loading…
Reference in a new issue