diff options
author | bptato <nincsnevem662@gmail.com> | 2021-12-19 11:08:37 +0100 |
---|---|---|
committer | bptato <nincsnevem662@gmail.com> | 2021-12-19 11:24:30 +0100 |
commit | 3360c8b7d3ca98712e7440d5f8d73705afc03dc9 (patch) | |
tree | 996f70822aecdf7acceffe47aa01191984d478a3 /src/html/parser.nim | |
parent | 86f8e3f488560a1c244f6fa40e613dbea17cd5de (diff) | |
download | chawan-3360c8b7d3ca98712e7440d5f8d73705afc03dc9.tar.gz |
Preparation for at rules, small inline-block fix
Diffstat (limited to 'src/html/parser.nim')
-rw-r--r-- | src/html/parser.nim | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/html/parser.nim b/src/html/parser.nim index c3e12300..8809e392 100644 --- a/src/html/parser.nim +++ b/src/html/parser.nim @@ -10,7 +10,7 @@ import utils/radixtree import html/dom import html/entity import html/tags -import css/selparser +import css/sheet type HTMLParseState = object @@ -325,7 +325,7 @@ proc processDocumentEndElement(state: var HTMLParseState, tag: DOMParsedTag) = var str = "" for child in style.textNodes: str &= child.data - style.stylesheet = newStringStream(str).parseStylesheet() + style.sheet = newStringStream(str).parseStylesheet() else: discard processDocumentEndNode(state) |