🦠 The Definitive Gemini Protocol Toolkit
gemini gemini-protocol gemtext parser zero-dependency toolkit ast converter html markdown cli networking
0
fork

Configure Feed

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

fix(ast): potentially fix bad unwrap

Fuwn 4094d93b eeec74fa

+7 -2
+1 -1
crates/germ/Cargo.toml
··· 2 2 3 3 [package] 4 4 name = "germ" 5 - version = "0.3.6" 5 + version = "0.3.7" 6 6 authors = ["Fuwn <contact@fuwn.me>"] 7 7 edition = "2021" 8 8 description = "The Ultimate Gemini Toolkit."
+6 -1
crates/germ/src/ast/container.rs
··· 232 232 233 233 if *in_preformatted { 234 234 alt_text = line.get(3..).unwrap_or("").to_string(); 235 - line = lines.next().unwrap(); 235 + 236 + if let Some(next_line) = lines.next() { 237 + line = next_line; 238 + } else { 239 + break; 240 + } 236 241 } else { 237 242 nodes.push(Node::PreformattedText { 238 243 alt_text: if alt_text.is_empty() {