X-Git-Url: https://git.r.bdr.sh/rbdr/gema_texto/blobdiff_plain/f5e5d595b58e0fd4c3035c58cf74605e587d949c..78c0ce81fd2f45e0c5ec237602cd1d4e530d3076:/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(), } }