aResult.AssignWithConversion('"');
aResult.Assign(NS_LITERAL_STRING("\""));
NS_QuoteForHTML(const nsString& aValue, nsString& aResult){  const PRUnichar* cp = aValue.GetUnicode();  const PRUnichar* end = aValue.GetUnicode() + aValue.Length();  aResult.AssignWithConversion('"');  while (cp < end) {    PRUnichar ch = *cp++;    if ((ch >= 0x20) && (ch <= 0x7f)) {      if (ch == '\"') {        aResult.AppendWithConversion("&quot;");      }      else {        aResult.Append(ch);      }    }    else {      aResult.AppendWithConversion("&#");      aResult.AppendInt((PRInt32) ch, 10);      aResult.AppendWithConversion(';');    }  }  aResult.AppendWithConversion('"');}