diff options
Diffstat (limited to 'WebCore/xml/XSLTProcessor.cpp')
-rw-r--r-- | WebCore/xml/XSLTProcessor.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/WebCore/xml/XSLTProcessor.cpp b/WebCore/xml/XSLTProcessor.cpp index 61f414e..f949163 100644 --- a/WebCore/xml/XSLTProcessor.cpp +++ b/WebCore/xml/XSLTProcessor.cpp @@ -102,7 +102,7 @@ static inline RefPtr<DocumentFragment> createFragmentFromSource(const String& so if (sourceMIMEType == "text/html") fragment->parseHTML(sourceString); else if (sourceMIMEType == "text/plain") - fragment->addChild(Text::create(outputDoc, sourceString)); + fragment->legacyParserAddChild(Text::create(outputDoc, sourceString)); else { bool successfulParse = fragment->parseXML(sourceString, outputDoc->documentElement()); if (!successfulParse) |