about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--src/local/pager.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/local/pager.nim b/src/local/pager.nim
index 49af389b..3b75155c 100644
--- a/src/local/pager.nim
+++ b/src/local/pager.nim
@@ -1615,7 +1615,7 @@ proc connected(pager: Pager; container: Container; response: Response) =
     container.contentType.get & ";charset=" & $container.charset
   let mailcapRes = pager.checkMailcap(container, istream, response.outputId,
     realContentType)
-  if not mailcapRes.found and realContentType.startsWithIgnoreCase("text/"):
+  if not mailcapRes.found and not realContentType.startsWithIgnoreCase("text/"):
     pager.askDownloadPath(container, response)
     return
   if mailcapRes.connect: