diff options
author | James Campos <james.r.campos@gmail.com> | 2021-03-26 20:07:44 -0700 |
---|---|---|
committer | James Campos <james.r.campos@gmail.com> | 2021-03-26 20:07:44 -0700 |
commit | 48786a80c2f96afd9a935688015ffd5da1cbfeb0 (patch) | |
tree | b38b3880958227d41527d955f54c040668692193 /src/epub.rs | |
parent | 5f6d7208fbed417afa23f1ec6cc982685fffc21c (diff) | |
download | bk-48786a80c2f96afd9a935688015ffd5da1cbfeb0.tar.gz |
normal intensity
Diffstat (limited to 'src/epub.rs')
-rw-r--r-- | src/epub.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/epub.rs b/src/epub.rs index 7357cda..66d1077 100644 --- a/src/epub.rs +++ b/src/epub.rs @@ -205,10 +205,10 @@ fn render(n: Node, c: &mut Chapter) { } } "em" => c.render(n, Attribute::Italic, Attribute::NoItalic), - "strong" => c.render(n, Attribute::Bold, Attribute::NoBold), + "strong" => c.render(n, Attribute::Bold, Attribute::NormalIntensity), "h1" | "h2" | "h3" | "h4" | "h5" | "h6" => { c.text.push('\n'); - c.render(n, Attribute::Bold, Attribute::NoBold); + c.render(n, Attribute::Bold, Attribute::NormalIntensity); c.text.push('\n'); } "blockquote" | "div" | "p" | "tr" => { |