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

fix(ast): Improve trailing newline trimming

fuwn.net f213db5e 6e7600e9

verified
+1 -1
+1 -1
src/ast/container.rs
··· 158 158 } 159 159 } 160 160 161 - if gemtext.ends_with('\n') && !gemtext.ends_with("\n\n") { 161 + if gemtext.ends_with('\n') { 162 162 gemtext.pop(); 163 163 } 164 164