Elektrine lite

← Feed

@mousebot@todon.nl

Post #1454394

2026-04-03 15:20 UTC

@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 .

Replies (0)

No replies.