Removed white-space stripping from href's/backgrounds/etc to fix bug #8319
This commit is contained in:
@@ -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) ||
|
||||
|
||||
Reference in New Issue
Block a user