itsybitsy/gemtext
randogoth 088e860cad fix: a hard break between links is still only links
The gemtext renderer prints a bare => line for a paragraph holding nothing but
links, which is what lets a generator emit a navigable menu. is_only_links
tolerated soft breaks but not hard ones, so a generator had to choose: soft
breaks and a clean gemtext menu, or hard breaks and a menu that does not run
together on the formats that lay a paragraph out inline.

That was a false choice. A hard break between links is still a run of nothing
but links, and the inline formats already turn it into <br/>. Without this,
asking for the break made gemtext read the paragraph as prose and print its
flattened text alongside the => lines, listing every entry twice.

Found serving a real capsule: six area links rendered as one run-on line in a
browser and on a handset while gemtext looked perfect.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-10-06 09:41:26 +03:00
..
src fix: a hard break between links is still only links 2026-10-06 09:41:26 +03:00
Cargo.toml feat: serve rendered pages over http, spartan and nex 2026-10-04 19:55:30 +03:00