aboutsummaryrefslogtreecommitdiffstats
path: root/src/epub.rs
diff options
context:
space:
mode:
authorJames Campos <james.r.campos@gmail.com>2021-03-26 20:07:44 -0700
committerJames Campos <james.r.campos@gmail.com>2021-03-26 20:07:44 -0700
commit48786a80c2f96afd9a935688015ffd5da1cbfeb0 (patch)
treeb38b3880958227d41527d955f54c040668692193 /src/epub.rs
parent5f6d7208fbed417afa23f1ec6cc982685fffc21c (diff)
downloadbk-48786a80c2f96afd9a935688015ffd5da1cbfeb0.tar.gz
normal intensity
Diffstat (limited to 'src/epub.rs')
-rw-r--r--src/epub.rs4
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" => {