about summary refs log tree commit diff stats
path: root/src/display/pager.nim
diff options
context:
space:
mode:
Diffstat (limited to 'src/display/pager.nim')
-rw-r--r--src/display/pager.nim3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/display/pager.nim b/src/display/pager.nim
index adfe2f87..bed2b4b5 100644
--- a/src/display/pager.nim
+++ b/src/display/pager.nim
@@ -557,6 +557,7 @@ proc applySiteconf(pager: Pager, request: Request): BufferConfig =
   var cookiejar: CookieJar
   var headers: Headers
   var scripting: bool
+  var images: bool
   var charsets = pager.config.encoding.document_charset
   for sc in pager.siteconf:
     if sc.url.isSome and not sc.url.get.match(url):
@@ -583,6 +584,8 @@ proc applySiteconf(pager: Pager, request: Request): BufferConfig =
       referer_from = sc.referer_from.get
     if sc.document_charset.len > 0:
       charsets = sc.document_charset
+    if sc.images.isSome:
+      images = sc.images.get
   return pager.config.getBufferConfig(request.url, cookiejar, headers,
     referer_from, scripting, charsets)