Format code for easier editing

This commit is contained in:
Mark Rousskov 2018-07-22 07:39:52 -06:00
parent 01d95558e6
commit 2216db9de7

View File

@ -661,12 +661,11 @@ impl<'a> fmt::Display for Markdown<'a> {
let mut s = String::with_capacity(md.len() * 3 / 2); let mut s = String::with_capacity(md.len() * 3 / 2);
html::push_html(&mut s, let p = HeadingLinks::new(p, None);
Footnotes::new( let p = LinkReplacer::new(p, links);
CodeBlocks::new( let p = CodeBlocks::new(p, codes);
LinkReplacer::new( let p = Footnotes::new(p);
HeadingLinks::new(p, None), html::push_html(&mut s, p);
links), codes)));
fmt.write_str(&s) fmt.write_str(&s)
} }