aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/gemini_parser.rs2
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();
}