diff options
| author | Fuwn <[email protected]> | 2023-03-11 07:11:40 +0000 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2023-03-11 07:11:40 +0000 |
| commit | 83db3b5ba131d03216006a0c42c2c466356f2a0d (patch) | |
| tree | d55cba3e8c08a2d0d39ab3af842cc6af5a976cce /src | |
| parent | feat(response): allow multiple css files (diff) | |
| download | september-83db3b5ba131d03216006a0c42c2c466356f2a0d.tar.xz september-83db3b5ba131d03216006a0c42c2c466356f2a0d.zip | |
fix(link): don't convert link to html
Diffstat (limited to 'src')
| -rw-r--r-- | src/gemini_to_html.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gemini_to_html.rs b/src/gemini_to_html.rs index ee723b7..1a81c28 100644 --- a/src/gemini_to_html.rs +++ b/src/gemini_to_html.rs @@ -121,7 +121,7 @@ pub fn gemini_to_html( html.push_str(&format!( "<p><a href=\"{}\">{}</a></p>\n", href, - to_html(&text.clone().unwrap_or_default()) + text.clone().unwrap_or_default(), )); } Node::Heading { level, text } => { |