X-Git-Url: http://git.scottworley.com/tablify/blobdiff_plain/88a08162523cf4a0a7c1286b1438fdf16ca6c802..5ffe8e3a8394fc46b50659b0e197b0b0a22e18c8:/src/lib.rs?ds=inline
diff --git a/src/lib.rs b/src/lib.rs
index b406f95..cfaeb4b 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -4,11 +4,13 @@ use std::fmt::Write;
use std::io::BufRead;
use std::iter::Iterator;
-const HEADER: &str = "
+pub struct Config {}
+
+const HEADER: &str = r#"
-
-
+
+
@@ -33,7 +35,7 @@ const HEADER: &str = "
-";
+"#;
const FOOTER: &str = "
@@ -192,7 +194,7 @@ fn render_instance(instance: &Option) -> HTML {
}
}
-fn render_cell(col: &str, row: &Row) -> HTML {
+fn render_cell(col: &str, row: &mut Row) -> HTML {
let row_label = HTML::escape(row.label.as_ref());
let col_label = HTML::escape(col);
let instances: Option<&Vec