fix file naming in view email html
This commit is contained in:
parent
634083d3ae
commit
e6dfd840c9
1 changed files with 2 additions and 2 deletions
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
emlfile="/tmp/neomutt-email-$$.eml"
|
||||
tmpdir="/tmp/neomutt-email-$$"
|
||||
tmpfile="$tmpdir/email.html"
|
||||
tmpfile="$tmpdir/email-$$.html"
|
||||
|
||||
# Save email from stdin
|
||||
mkdir -p "$tmpdir"
|
||||
|
|
@ -115,7 +115,7 @@ else
|
|||
gsub(/</, "\\<", value)
|
||||
gsub(/>/, "\\>", value)
|
||||
# Only split To, CC, Bcc addresses (not Date, Subject, From)
|
||||
if (tolower(header) ~ /^(to|cc|bcc)$/) {
|
||||
if (tolower(header) ~ /^(from|to|cc|bcc)$/) {
|
||||
n = split_addresses(value, addrs)
|
||||
printf "<p><strong>" header ":</strong> <span class=\"addr-list\">"
|
||||
if (n > 1) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue