Skip to content

Commit

Permalink
Fix underline CSS rule
Browse files Browse the repository at this point in the history
  • Loading branch information
BBaoVanC committed Nov 4, 2022
1 parent 8678b7c commit a5ae4ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/html.rs
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ pub fn css_for_theme_with_class_style(theme: &Theme, style: ClassStyle) -> Resul

if let Some(fs) = i.style.font_style {
if fs.contains(FontStyle::UNDERLINE) {
css.push_str("font-style: underline;\n");
css.push_str("text-decoration: underline;\n");
}
if fs.contains(FontStyle::BOLD) {
css.push_str("font-weight: bold;\n");
Expand Down

0 comments on commit a5ae4ec

Please sign in to comment.