]> git.madduck.net Git - etc/mutt.git/commitdiff

madduck's git repository

Every one of the projects in this repository is available at the canonical URL git://git.madduck.net/madduck/pub/<projectpath> — see each project's metadata for the exact URL.

All patches and comments are welcome. Please squash your changes to logical commits before using git-format-patch and git-send-email to patches@git.madduck.net. If you'd read over the Git project's submission guidelines and adhered to them, I'd be especially grateful.

SSH access, as well as push access can be individually arranged.

If you use my repositories frequently, consider adding the following snippet to ~/.gitconfig and using the third clone URL listed for each project:

[url "git://git.madduck.net/madduck/"]
  insteadOf = madduck:

assume HTML comes in as latin1
authormartin f. krafft <madduck@madduck.net>
Fri, 17 Aug 2018 22:26:36 +0000 (10:26 +1200)
committermartin f. krafft <madduck@madduck.net>
Fri, 17 Aug 2018 22:26:36 +0000 (10:26 +1200)
.mutt/mailcap.htmldump

index 3bca1668a60735a834cf7a43786e4c8537d2ac69..217e8586859cb998449b217a2f4fe1833d5f553e 100644 (file)
@@ -2,4 +2,4 @@
 # Mutt mailcap for dumping HTML to text
 #
 
-text/html; elinks -anonymous -localhost -dump -force-html -dump-charset utf-8 -dump-color-mode 4; description=HTML Text; nametemplate=%s.html; copiousoutput
+text/html; elinks -anonymous -localhost  -eval "set document.codepage.assume = %{charset}" -force-html -dump -dump-charset utf-8 -dump-color-mode 4; description=HTML Text; nametemplate=%s.html; copiousoutput