Fixed bug in handling of textarea that caused them to terminate documents

This commit is contained in:
kipp%netscape.com 1998-09-04 16:33:40 +00:00
parent 5bf6207892
commit 3ff0090bfa
2 changed files with 2 additions and 2 deletions

View File

@ -753,7 +753,7 @@ CreateContentObject(const nsIParserNode& aNode,
case eHTMLTag_textarea:
{
const nsString& content = aNode.GetSkippedContent();
nsresult rv = NS_NewHTMLTextArea(aResult, atom, aForm);
rv = NS_NewHTMLTextArea(aResult, atom, aForm);
if (NS_OK == rv) {
// If the text area has some content, give it to it now
if (content.Length() > 0) {

View File

@ -753,7 +753,7 @@ CreateContentObject(const nsIParserNode& aNode,
case eHTMLTag_textarea:
{
const nsString& content = aNode.GetSkippedContent();
nsresult rv = NS_NewHTMLTextArea(aResult, atom, aForm);
rv = NS_NewHTMLTextArea(aResult, atom, aForm);
if (NS_OK == rv) {
// If the text area has some content, give it to it now
if (content.Length() > 0) {