Elektrine lite

← Feed

@zardoz03@mastodon.online

Post #1454393

2026-04-03 14:54 UTC

@mousebot https://www.gnu.org/software/guile/docs/docs-2.0/guile-ref/SSAX.html

Replies (1)

  • @mousebot@todon.nl 2026-04-03 15:20

    @zardoz03 thanks for the idea. i ended up using https://www.nongnu.org/guile-lib/doc/ref/htmlprag/ because the built-in haunt parser couldn't handle my html in additional other ways. i guess this define-parsed-entity trick doesn't work with htmlprag. from what i can tell that link is the only documentation. htmlprag's html->shtml, which is what haunt recommends as a replacement "reader" (it's used by spritely) outputs entities like so: (*ENTITY* "additional" "nbsp") in its output tree. when i render a post, that just gets made into a string wrapped in .

    Open ##1454394