♻️ Simple & Efficient Gemini-to-HTTP Proxy fuwn.net
proxy gemini-protocol protocol gemini http rust
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

fix(html): render pre as basic text

Fuwn 73b54100 e7afbb48

+5 -1
+5 -1
src/html.rs
··· 255 255 html.push_str(&format!("<blockquote>{}</blockquote>", safe(text))); 256 256 } 257 257 Node::PreformattedText { text, .. } => { 258 - html.push_str(&format!("<pre>{}</pre>", safe(text))); 258 + let mut new_text = text.to_string(); 259 + 260 + new_text.pop(); 261 + 262 + html.push_str(&format!("<pre>{new_text}</pre>")); 259 263 } 260 264 Node::Whitespace => {} 261 265 }