diff options
author | bptato <nincsnevem662@gmail.com> | 2021-11-10 18:26:18 +0100 |
---|---|---|
committer | bptato <nincsnevem662@gmail.com> | 2021-11-10 18:32:25 +0100 |
commit | fcd3a5b204e15fdfc739fd04975977d288e892e0 (patch) | |
tree | 363f3bfd60570ce5fb1f4fbc6c62557609ccc6ea /src/main.nim | |
parent | e6f7cc72ba3343fb81c4f8196446c58eca59191e (diff) | |
download | chawan-fcd3a5b204e15fdfc739fd04975977d288e892e0.tar.gz |
Layout engine improvements, use author style sheet
Diffstat (limited to 'src/main.nim')
-rw-r--r-- | src/main.nim | 2 |
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 |