X-Git-Url: https://git.r.bdr.sh/rbdr/gema_texto/blobdiff_plain/5f7e1e310aafc765684463d3ae00359c652cd751..9d687f8c5a45f72cb0040bb2d0441d04ea9987fb:/src/html_renderer.rs?ds=sidebyside diff --git a/src/html_renderer.rs b/src/html_renderer.rs index 503337b..fccf163 100644 --- a/src/html_renderer.rs +++ b/src/html_renderer.rs @@ -105,7 +105,11 @@ fn line_content(line: &GeminiLine) -> String { } else { processed_url = url.to_string(); } - let display = if text.is_empty() { &processed_url } else { text }; + let display = if text.is_empty() { + &processed_url + } else { + text + }; format!("

{display}

") } GeminiLine::Heading(level, content) => format!("{content}"),