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.nim2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/html/parser.nim b/src/html/parser.nim
index 44b31d4a..6868ec52 100644
--- a/src/html/parser.nim
+++ b/src/html/parser.nim
@@ -370,7 +370,6 @@ proc processDocumentPart(state: var HTMLParseState, buf: string) =
               state.commentNode = comment
               processDocumentAddNode(state, comment)
               if state.textNode != nil:
-                state.textNode.rawtext = state.textNode.getRawText()
                 state.textNode = nil
           else:
             #TODO for doctype
@@ -381,7 +380,6 @@ proc processDocumentPart(state: var HTMLParseState, buf: string) =
 
         if not state.in_comment:
           if state.textNode != nil:
-            state.textNode.rawtext = state.textNode.getRawText()
             state.textNode = nil
           p = at
           var tag = parse_tag(buf, at)