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
@@ -592,9 +592,7 @@ nsHTMLBodyElement::StringToAttribute(nsIAtom* aAttribute,
nsHTMLValue& aResult)
{
if (aAttribute == nsHTMLAtoms::background) {
nsAutoString href(aValue);
href.StripWhitespace();
aResult.SetStringValue(href);
aResult.SetStringValue(aValue);
return NS_CONTENT_ATTR_HAS_VALUE;
}
if ((aAttribute == nsHTMLAtoms::bgcolor) ||