mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-10 11:55:49 +00:00
24635: Don't convert entities in title differently from the rest of the document. Fix suggested by rickg, r=me
This commit is contained in:
parent
27ca515c4c
commit
a06aa3ece0
@ -2523,7 +2523,7 @@ HTMLContentSink::SetTitle(const nsString& aValue)
|
||||
nsIDOMText* tc;
|
||||
rv = text->QueryInterface(kIDOMTextIID, (void**)&tc);
|
||||
if (NS_OK == rv) {
|
||||
tc->SetData(aValue);
|
||||
tc->SetData(*mTitle);
|
||||
NS_RELEASE(tc);
|
||||
}
|
||||
it->AppendChildTo(text, PR_FALSE);
|
||||
|
@ -2523,7 +2523,7 @@ HTMLContentSink::SetTitle(const nsString& aValue)
|
||||
nsIDOMText* tc;
|
||||
rv = text->QueryInterface(kIDOMTextIID, (void**)&tc);
|
||||
if (NS_OK == rv) {
|
||||
tc->SetData(aValue);
|
||||
tc->SetData(*mTitle);
|
||||
NS_RELEASE(tc);
|
||||
}
|
||||
it->AppendChildTo(text, PR_FALSE);
|
||||
|
Loading…
Reference in New Issue
Block a user