Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

htmlfmt: add -I flag to suppress printing of image anchors. #594

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

rastagraffix
Copy link

This patch adds a -I flag to htmlfmt that suppresses printing of image anchors.

I use 'htmlfmt -aI' as my MH display filter for text/html parts in mail messages. Not printing the image tags eliminates endless noise from people/sites that insist on putting nauseatingly large numbers of pointless image blobs in their messages. -I makes those messages (somewhat) readable.

I'm not wedded to '-I' as the flag, and some might argue a slightly more general mechanism could be useful (e.g. forms display in email is pointless as well, but I have yet to run up against one of those in an email message). But as it is, this patch has made my life more bearable for the last five+ years :-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant