result=aContent->AppendChildTo(text, PR_FALSE);
result=aContent->AppendChildTo(text, PR_FALSE, PR_FALSE);
nsHTMLFragmentContentSink::AddTextToContent(nsIHTMLContent* aContent,const nsString& aText) {  NS_ASSERTION(aContent !=nsnull, "can't add text w/o a content");  nsresult result=NS_OK;    if(aContent) {    if (aText.Length() > 0) {      nsCOMPtr<nsIContent> text;      result = NS_NewTextNode(getter_AddRefs(text));      if (NS_SUCCEEDED(result)) {        nsCOMPtr<nsIDOMText> tc=do_QueryInterface(text,&result);        if (NS_SUCCEEDED(result)) {          tc->SetData(aText);        }        result=aContent->AppendChildTo(text, PR_FALSE);      }    }  }  return result;}