about summary refs log tree commit diff stats
path: root/src/buffer/buffer.nim
diff options
context:
space:
mode:
authorbptato <nincsnevem662@gmail.com>2023-07-09 20:11:05 +0200
committerbptato <nincsnevem662@gmail.com>2023-07-09 20:12:52 +0200
commitffd4414ecf579802d94da3535361c61e24b5d954 (patch)
tree18c4a4efb79e0ca62ec8886198adfd46375c2df8 /src/buffer/buffer.nim
parent1b5d94a656096730a0d780ee2e1aece846e35fa5 (diff)
downloadchawan-ffd4414ecf579802d94da3535361c61e24b5d954.tar.gz
htmlparser: decouple from DOM
Instead of directly appending nodes to the DOM, use a DOMBuilder
interface.
Diffstat (limited to 'src/buffer/buffer.nim')
-rw-r--r--src/buffer/buffer.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/buffer/buffer.nim b/src/buffer/buffer.nim
index d9060d4c..d322c03e 100644
--- a/src/buffer/buffer.nim
+++ b/src/buffer/buffer.nim
@@ -19,9 +19,9 @@ import css/stylednode
 import css/values
 import data/charset
 import encoding/decoderstream
+import html/chadombuilder
 import html/dom
 import html/env
-import html/htmlparser
 import html/tags
 import img/png
 import io/loader