Closed aperezdc closed 6 years ago
This is implemented on the 'filter' branch. I've barely tested it but it seems to work. I'll merge it to master if nothing turns up in the next week or so.
Some moments ago I built Bower from the filter
branch and seems to work like a charm. I'll keep using this build for the next days as well to give it some more testing.
Thanks a ton for looking into this — I would have liked to contribute a patch but Mercury is completely alien to me :innocent:
Actually, there's a potential deadlock if you're filtering large "text" parts as the pipe to the external process can fill up. So don't do that yet. (text/html is okay.)
So far I have tried only wit small parts under ~20 KiB, if I remember correctly. Let me know if I can help trying out things somehow.
I've pushed a fixed version to master. Enjoy.
Currently it is already possible to use the
html_dump
option in the configuration file to convert HTML parts to plain text:It would be super nice if it would be possible to specify how invoke filters to handle other MIME types, for example: