From: Ruben Beltran del Rio Date: Sun, 4 Feb 2024 16:59:44 +0000 (+0100) Subject: Fix incorrect h X-Git-Tag: 1.3.0 X-Git-Url: https://git.r.bdr.sh/rbdr/page/commitdiff_plain/394fd62bb7fd408ed2fda3e07f60294397a71652?ds=sidebyside Fix incorrect h --- diff --git a/src/gemini_parser.rs b/src/gemini_parser.rs index 14d74c6..af1a5e0 100644 --- a/src/gemini_parser.rs +++ b/src/gemini_parser.rs @@ -146,7 +146,7 @@ fn get_line_opener(line_type: &LineType, block_label: Option<&String>) -> String LineType::Quote => "
".to_string(), LineType::PreformattedText => { if let Some(label) = &block_label { - return format!("
", label);
+                return format!("
", label);
             } else {
                 return "
".to_string();
             }