2010-06-26 Tony Gentilcore <tonyg@chromium.org>
[WebKit.git] / WebCore / html / HTMLDocumentParser.cpp
index 9ce22abc6125443857ce42e545850e8c2d699ba8..fe110046b8e018e3bb8f9649b9ebc7a8d3c05839 100644 (file)
@@ -219,7 +219,10 @@ void HTMLDocumentParser::insert(const SegmentedString& source)
         return;
 
     NestingLevelIncrementer nestingLevelIncrementer(m_writeNestingLevel);
         return;
 
     NestingLevelIncrementer nestingLevelIncrementer(m_writeNestingLevel);
-    m_input.insertAtCurrentInsertionPoint(source);
+
+    SegmentedString excludedLineNumberSource(source);
+    excludedLineNumberSource.setExcludeLineNumbers();
+    m_input.insertAtCurrentInsertionPoint(excludedLineNumberSource);
     pumpTokenizerIfPossible(ForceSynchronous);
     endIfDelayed();
 }
     pumpTokenizerIfPossible(ForceSynchronous);
     endIfDelayed();
 }