about summary refs log tree commit diff stats
path: root/src/config/mailcap.nim
diff options
context:
space:
mode:
Diffstat (limited to 'src/config/mailcap.nim')
-rw-r--r--src/config/mailcap.nim1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/config/mailcap.nim b/src/config/mailcap.nim
index b108ca20..41575ca8 100644
--- a/src/config/mailcap.nim
+++ b/src/config/mailcap.nim
@@ -308,6 +308,7 @@ proc unquoteCommand*(ecmd, contentType, outpath: string; url: URL;
         let s = contentType.getContentTypeAttr(attrname)
         cmd &= quoteFile(s, qs)
         attrname = ""
+        state = STATE_NORMAL
       elif c == '\\':
         state = STATE_ATTR_QUOTED
       else: