mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-28 12:45:27 +00:00
Emoticons can't be copied as originally drawn
bug 57098 patch=tmutreja@netscape.com r=ben.bucksch@beonex.com sr=jst
This commit is contained in:
parent
36953a1e69
commit
15749e2366
@ -1019,10 +1019,8 @@ nsPlainTextSerializer::DoAddLeaf(PRInt32 aTag,
|
||||
nsAutoString desc, temp;
|
||||
if (NS_SUCCEEDED(GetAttributeValue(nsHTMLAtoms::alt, desc))) {
|
||||
if (!desc.IsEmpty()) {
|
||||
temp.Append(NS_LITERAL_STRING(" [")); // Should we output chars at all here?
|
||||
desc.StripChars("\"");
|
||||
temp += desc;
|
||||
temp.Append(NS_LITERAL_STRING("] "));
|
||||
}
|
||||
// If the alt attribute has an empty value (|alt=""|), output nothing
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user