diff options
Diffstat (limited to 'src/epub.rs')
-rw-r--r-- | src/epub.rs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/epub.rs b/src/epub.rs index b3e6c49..7f203d0 100644 --- a/src/epub.rs +++ b/src/epub.rs @@ -211,6 +211,11 @@ fn render(n: Node, c: &mut Chapter) { c.render_text(n); c.text.push('\n'); } + "div" => { + // FIXME better whitespace management + c.text.push('\n'); + c.render_text(n); + } "li" => { c.text.push_str("\n- "); c.render_text(n); |