Tiny whitespace changes

This commit is contained in:
Michael Bryan 2017-06-16 06:50:13 +08:00
parent b7aa78c3c0
commit deab3ba751
1 changed files with 1 additions and 1 deletions

View File

@ -49,7 +49,6 @@ impl HtmlHandlebars {
content = helpers::playpen::render_playpen(&content, p);
}
// Render markdown using the pulldown-cmark crate
content = utils::render_markdown(&content);
print_content.push_str(&content);
@ -58,6 +57,7 @@ impl HtmlHandlebars {
ch.path
.to_str()
.ok_or_else(|| io::Error::new(io::ErrorKind::Other, "Could not convert path to str"))?;
data.insert("path".to_owned(), json!(path));
data.insert("content".to_owned(), json!(content));
data.insert("chapter_title".to_owned(), json!(ch.name));