Removed white-space stripping from href's/backgrounds/etc to fix bug #8319

This commit is contained in:
kipp@netscape.com
1999-07-05 21:14:37 +00:00
parent 5e233d3173
commit ef4b10d078
15 changed files with 16 additions and 48 deletions
@@ -231,9 +231,7 @@ nsHTMLImageElement::StringToAttribute(nsIAtom* aAttribute,
if ((aAttribute == nsHTMLAtoms::usemap) ||
(aAttribute == nsHTMLAtoms::src) ||
(aAttribute == nsHTMLAtoms::lowsrc)) {
nsAutoString tmp(aValue);
tmp.StripWhitespace();
aResult.SetStringValue(tmp);
aResult.SetStringValue(aValue);
return NS_CONTENT_ATTR_HAS_VALUE;
}
else if (nsGenericHTMLElement::ParseImageAttribute(aAttribute,