diff --git a/astroid/config b/astroid/config index 2d2e794..f971a2a 100644 --- a/astroid/config +++ b/astroid/config @@ -44,7 +44,8 @@ "charset": "utf-8", "save_draft_on_force_quit": "true", "attachment_words": "attach,anbei,anhang,angehÃĪngt", - "attachment_directory": "~" + "attachment_directory": "~", + "markdown_processor": "marked" }, "mail": { "reply": { diff --git a/astroid/scripts/attachment-saver.sh b/astroid/scripts/attachment-saver.sh index 8852ecc..bbe1d37 100755 --- a/astroid/scripts/attachment-saver.sh +++ b/astroid/scripts/attachment-saver.sh @@ -6,7 +6,7 @@ # based on https://github.com/astroidmail/astroid/issues/339#issuecomment-300491869 cachedir=~/.cache/astroid-attachments -attachment=$(echo "$1" | sed -E "s#.*astroid/.+?-##") +attachment=$(echo "$1" | sed -E "s|.*astroid/[a-zA-Z0-9]*?-||") touch $cachedir/token."$attachment"