Hello.
Steffen Nurpmeso wrote in
<20210309204740.an4hv%[email protected]>:
|Noctambule wrote in
| <dLA6_e_vNCbvsTxWwOXzqadfhZtjeE0Adiqth5iYNtLqoB8WlEqgxoP0FTh0mwb91LKK0J4\
| [email protected]>:
...
||>|I'm using s-nail 14.9.22 from Voidlinux and I tried to display HTML \
||>|emails
...
||>|Unfortunately, when I read a message, the HTML is simply not displayed.
| ...
||> That looks if the HTML is part of a multipart/alternative MIME
||> message. We always go for the text part then, but you could
||>
||> set mime-alternative-favour-rich
...
||define a define with mime-alternative-favour-rich + commandalias,
||just to display HTML on a selected mail. Something like :
...
||>|plain text with the following command. It has no effect :
||>|
||>| set pipe-text/html=?t
I have added (?t and) ?h type-marker support for pipe-TYPE/SUBTYPE
yesterday, so
| define showhtml {
| \local set mime-alternative-favour-rich pipe-text/html=?h
| \type "$@"
|}
| commandalias html \\call showhtml
will work in v14.10.
While there i saw the bug that pipe-EXTENSION as well as pipe-T/ST
do not allow further handlers to be found in case they do not fit
the bill, so to say. That is fixed on [master] etc.
Credit to both of these changes due to you, Noctambule, than you!
Ciao, and a nice weekend i wish from Germany,
--steffen
|
|Der Kragenbaer, The moon bear,
|der holt sich munter he cheerfully and one by one
|einen nach dem anderen runter wa.ks himself off
|(By Robert Gernhardt)