about summary refs log tree commit diff stats
path: root/src/html/parser.nim
diff options
context:
space:
mode:
Diffstat (limited to 'src/html/parser.nim')
-rw-r--r--src/html/parser.nim1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/html/parser.nim b/src/html/parser.nim
index b882d68e..0d2ccd3e 100644
--- a/src/html/parser.nim
+++ b/src/html/parser.nim
@@ -207,6 +207,7 @@ proc processDocumentBody(state: var HTMLParseState) =
     if state.elementNode.ownerDocument != nil:
       state.elementNode = state.elementNode.ownerDocument.body
 
+#TODO this adds text nodes to head
 proc processDocumentAddNode(state: var HTMLParseState, newNode: Node) =
   if state.elementNode.tagType == TAG_HTML:
     if state.in_body: