diff options
| author | Ruben Beltran del Rio <ruben@unlimited.pizza> | 2024-02-04 17:59:44 +0100 |
|---|---|---|
| committer | Ruben Beltran del Rio <ruben@unlimited.pizza> | 2024-02-04 17:59:44 +0100 |
| commit | 394fd62bb7fd408ed2fda3e07f60294397a71652 (patch) | |
| tree | c11555ee6e10255d32cbea26f3d285a15610b54a /src | |
| parent | f07392253d4db57964eae389dab219c963dd4c95 (diff) | |
Fix incorrect h1.3.0
Diffstat (limited to 'src')
| -rw-r--r-- | src/gemini_parser.rs | 2 |
1 files changed, 1 insertions, 1 deletions
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 => "<blockquote>".to_string(), LineType::PreformattedText => { if let Some(label) = &block_label { - return format!("<pre role=\"img\" aria-label=\"h{}\">", label); + return format!("<pre role=\"img\" aria-label=\"{}\">", label); } else { return "<pre>".to_string(); } |