about summary refs log tree commit diff stats
path: root/src/local/pager.nim
diff options
context:
space:
mode:
Diffstat (limited to 'src/local/pager.nim')
-rw-r--r--src/local/pager.nim7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/local/pager.nim b/src/local/pager.nim
index cd0df216..cdc08422 100644
--- a/src/local/pager.nim
+++ b/src/local/pager.nim
@@ -1074,10 +1074,11 @@ proc applySiteconf(pager: Pager; url: var URL; charsetOverride: Charset;
   let ctx = pager.jsctx
   var res = BufferConfig(
     userstyle: pager.config.css.stylesheet,
-    referer_from: false,
-    scripting: false,
+    referer_from: pager.config.buffer.referer_from,
+    scripting: pager.config.buffer.scripting,
     charsets: pager.config.encoding.document_charset,
-    images: false,
+    images: pager.config.buffer.images,
+    styling: pager.config.buffer.styling,
     isdump: pager.config.start.headless,
     charsetOverride: charsetOverride,
     protocol: pager.config.protocol