diff options
author | Robin Jarry <robin@jarry.cc> | 2022-02-19 23:07:23 +0100 |
---|---|---|
committer | Robin Jarry <robin@jarry.cc> | 2022-02-19 23:11:03 +0100 |
commit | 6c460493efafb065822a9bb4454599f5c6522c61 (patch) | |
tree | 12c5c5fbc3837268fe035762eee4a460c8d19b7b /config/aerc.conf | |
parent | 20cfef95ff715a56b4b708fc57c605a2a8b06c14 (diff) | |
download | aerc-6c460493efafb065822a9bb4454599f5c6522c61.tar.gz |
config: fix default text/plain filter0.8.0
; is a special character for the INI format. It starts a comment and
apparently cannot be escaped nor quoted. This causes the default
text/plain filter to be truncated and causes this obscure error when
viewing a message:
sh: 1: Syntax error: Unterminated quoted string
Debugging shows that the filter command is:
sh -c "sed 's/^>\\+.*/\\x1b[2"
Remove the explicit dim style. It should be the default anyway.
Fixes: 7c3ce816c8a6 ("config: set a default filter for text/plain")
Signed-off-by: Robin Jarry <robin@jarry.cc>
Diffstat (limited to 'config/aerc.conf')
-rw-r--r-- | config/aerc.conf | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/config/aerc.conf b/config/aerc.conf index 66b08ad9..7a5e4238 100644 --- a/config/aerc.conf +++ b/config/aerc.conf @@ -222,7 +222,7 @@ reply-to-self=true # against (non-case-sensitive) and a comma, e.g. subject,text will match a # subject which contains "text". Use header,~regex to match against a regex. #subject,~^\[PATCH=colordiff -text/plain=sed 's/^>\+.*/\x1b[2;36m&\x1b[0m/' +text/plain=sed 's/^>\+.*/\x1b[36m&\x1b[0m/' #text/html=pandoc -f html -t plain #image/*=catimg -w $(tput cols) - |