Re: State of the art for HTML-to-text rendering?
Lexi Winter <[email protected]> Mon, 11 Nov 2024 22:54:44 +0000
| Newsgroups | gmane.mail.nmh.devel |
|---|---|
| Message-ID | <[email protected]> |
Conrad Hughes: > [ part - text/plain - 1.1KB ] > Hi all, > > Wondering what folk use these days to render HTML emails in a terminal > window? I've an old recipe which I picked up from the list as follows: > > mhshow-show-text/html: env SOCKS_SERVER="127.0.0.1:1" socksify w3m -T text/html -dump -o display_image=false -o display_link_number=true '%f' -cols 80 i would be interested to know if anyone has managed to create a sandboxed HTML renderer, to avoid issues where an incoming HTML email exploits a bug in w3m/elinks/lynx/whatever to execute code on the local system. i am particularly interested in this on FreeBSD -- while FreeBSD has a very robust sandboxing system (Capsicum), it doesn't really allow unmodified executables to be run in the sandbox so it doesn't help here.