aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/epub.rs5
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);