Commit graph

4 commits

Author SHA1 Message Date
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
randogoth
49a63503d0 fix: bound document nesting and escape generated urls 2026-10-04 22:30:44 +03:00
randogoth
9e1cfed284 feat: render fixed-width text for nex 2026-10-04 20:27:29 +03:00
randogoth
2f38b8b929 feat: serve rendered pages over http, spartan and nex 2026-10-04 19:55:30 +03:00