about summary refs log tree commit diff stats
path: root/src/main.nim
diff options
context:
space:
mode:
authorbptato <nincsnevem662@gmail.com>2021-11-10 18:26:18 +0100
committerbptato <nincsnevem662@gmail.com>2021-11-10 18:32:25 +0100
commitfcd3a5b204e15fdfc739fd04975977d288e892e0 (patch)
tree363f3bfd60570ce5fb1f4fbc6c62557609ccc6ea /src/main.nim
parente6f7cc72ba3343fb81c4f8196446c58eca59191e (diff)
downloadchawan-fcd3a5b204e15fdfc739fd04975977d288e892e0.tar.gz
Layout engine improvements, use author style sheet
Diffstat (limited to 'src/main.nim')
-rw-r--r--src/main.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.nim b/src/main.nim
index 9661ba10..4515147f 100644
--- a/src/main.nim
+++ b/src/main.nim
@@ -45,7 +45,7 @@ proc main*() =
   buffer.source = getPageUri(uri).readAll() #TODO get rid of this
   buffer.document = parseHtml(newStringStream(buffer.source))
   buffer.setLocation(uri)
-  buffer.document.applyDefaultStylesheet()
+  buffer.document.applyStylesheets()
   buffer.alignBoxes()
   buffer.renderDocument()
   var lastUri = uri