aboutsummaryrefslogtreecommitdiff
path: root/mutt/filters/markdown-to-html.sh
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2020-06-30 00:04:27 +1200
committerTom Ryder <tom@sanctum.geek.nz>2020-06-30 00:04:27 +1200
commit51b318a8b22244f564851466c9c2f479eb2f7c49 (patch)
treebc991a81a0ed791eff4fe8339e7549cec884b363 /mutt/filters/markdown-to-html.sh
parentMerge branch 'release/v9.27.0' (diff)
parentBump VERSION (diff)
downloaddotfiles-51b318a8b22244f564851466c9c2f479eb2f7c49.tar.gz
dotfiles-51b318a8b22244f564851466c9c2f479eb2f7c49.zip
Merge branch 'release/v10.0.0'v10.0.0
* release/v10.0.0: Filter pandoc dashes in Mutt alternative parts Adjust a couple more muttrc linebreaks Fix a comment block in muttrc Break a couple of long lines Correct a few typos Expand/refine Mutt thread display switching a bit Remove an idea I decided not to implement Add an issue
Diffstat (limited to 'mutt/filters/markdown-to-html.sh')
-rw-r--r--mutt/filters/markdown-to-html.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/mutt/filters/markdown-to-html.sh b/mutt/filters/markdown-to-html.sh
index cdba8ace..5fe28560 100644
--- a/mutt/filters/markdown-to-html.sh
+++ b/mutt/filters/markdown-to-html.sh
@@ -4,4 +4,5 @@ pandoc \
--from markdown_strict+smart \
--metadata=pagetitle:HTML \
--standalone \
- --to html4
+ --to html4 |
+sed '/[—–][—–]/{s/—/---/g;s/–/--/g}'