Skip to content

Commit 85cc43d

Browse files
committed
Remove default case
1 parent 6ec0601 commit 85cc43d

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

crates/markdown_preview/src/markdown_parser.rs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1020,10 +1020,6 @@ impl<'a> MarkdownParser<'a> {
10201020

10211021
if let Some(font_style) = styles.get("font-style") {
10221022
match font_style.to_lowercase().as_str() {
1023-
"normal" => {
1024-
markdown_style.emphasized = false;
1025-
markdown_style.italic = false;
1026-
}
10271023
"italic" => {
10281024
markdown_style.italic = true;
10291025
}

0 commit comments

Comments
 (0)