1
0
mirror of https://github.com/lise-henry/crowbook synced 2024-11-18 00:13:55 +01:00

fixed tests/html.rs

This commit is contained in:
Elisabeth Henry 2016-02-22 23:52:46 +01:00
parent aeb28cf12e
commit b537edfa62

@ -4,7 +4,7 @@ use self::crowbook::{Parser, HtmlRenderer, Book, Token};
fn ast_to_html(v: &[Token]) -> String {
let mut book = Book::new();
book.numbering = false;
book.set_option("numbering", "false").unwrap();
let mut html = HtmlRenderer::new(&book);
html.render_vec(v)
}