diff options
author | James Campos <james.r.campos@gmail.com> | 2020-07-13 22:17:22 -0700 |
---|---|---|
committer | James Campos <james.r.campos@gmail.com> | 2020-07-13 22:17:22 -0700 |
commit | 8504d414398c069825bd861663bac2bcd773f09f (patch) | |
tree | fdb3360e6db7ef886d45f26d64557f1460343bf7 | |
parent | 46edc57b24558ee62c095482c49f0504860bac97 (diff) | |
download | bk-8504d414398c069825bd861663bac2bcd773f09f.tar.gz |
hr
-rw-r--r-- | src/epub.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/epub.rs b/src/epub.rs index 8915214..68c834d 100644 --- a/src/epub.rs +++ b/src/epub.rs @@ -174,6 +174,7 @@ fn render(n: Node, buf: &mut String, attrs: &mut Attrs) { buf.push('\n'); } "br" => buf.push('\n'), + "hr" => buf.push_str("\n* * *\n"), _ => { for c in n.children() { render(c, buf, attrs); |