Bug 420700 - Bustage fix.
This commit is contained in:
Родитель
2143097cfb
Коммит
0abda9d640
|
@ -2643,7 +2643,7 @@ nsresult nsHTMLEditor::ParseFragment(const nsAString & aFragStr,
|
|||
parser->ParseFragment(aFragStr, 0, aTagStack, PR_FALSE, NS_LITERAL_CSTRING("text/html"), eDTDMode_quirks);
|
||||
// get the fragment node
|
||||
nsCOMPtr<nsIDOMDocumentFragment> contextfrag;
|
||||
res = fragSink->GetFragment(getter_AddRefs(contextfrag));
|
||||
res = fragSink->GetFragment(PR_TRUE, getter_AddRefs(contextfrag));
|
||||
NS_ENSURE_SUCCESS(res, res);
|
||||
*outNode = do_QueryInterface(contextfrag);
|
||||
|
||||
|
|
|
@ -198,7 +198,7 @@ nsScriptableUnescapeHTML::ParseFragment(const nsAString &aFragment,
|
|||
rv = parser->ParseFragment(aFragment, nsnull, tagStack,
|
||||
aIsXML, contentType, mode);
|
||||
if (NS_SUCCEEDED(rv))
|
||||
rv = sink->GetFragment(aReturn);
|
||||
rv = sink->GetFragment(PR_TRUE, aReturn);
|
||||
|
||||
} else {
|
||||
rv = NS_ERROR_FAILURE;
|
||||
|
|
Загрузка…
Ссылка в новой задаче