From 48786a80c2f96afd9a935688015ffd5da1cbfeb0 Mon Sep 17 00:00:00 2001 From: James Campos Date: Fri, 26 Mar 2021 20:07:44 -0700 Subject: normal intensity --- src/epub.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/epub.rs') 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" => { -- cgit v1.2.3