diff options
-rw-r--r-- | src/local/pager.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/local/pager.nim b/src/local/pager.nim index e7d771c0..3a9c3aa7 100644 --- a/src/local/pager.nim +++ b/src/local/pager.nim @@ -1582,7 +1582,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: + if not mailcapRes.found and container.contentType.get.until('/') != "text": pager.setLineEdit(lmDownload, pager.config.external.download_dir & container.url.pathname.afterLast('/')) |