X-Git-Url: https://git.r.bdr.sh/rbdr/gema_texto/blobdiff_plain/3a544e1f1226027b4a429e525126b2a7623de8d1..086ffc1eeecc98091adf894e01bfb60536149cb3:/src/html_renderer.rs diff --git a/src/html_renderer.rs b/src/html_renderer.rs index 61d2d73..5251d0a 100644 --- a/src/html_renderer.rs +++ b/src/html_renderer.rs @@ -124,7 +124,10 @@ fn line_content(line: &GeminiLine) -> String { format!("
") } GeminiLine::PreformattedToggle(false, _) => "".to_string(), - GeminiLine::Text(content, true) | GeminiLine::Quote(content) => content.to_string(), + GeminiLine::Text(content, true) | GeminiLine::Quote(content) => content + .replace('<', "<") + .replace('>', ">") + .to_string(), } }