The value in the GetAttribute will no longer have the space stripped in front and back

git-svn-id: svn://10.0.0.236/trunk@66765 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
rods%netscape.com 2000-04-21 21:59:53 +00:00
parent 26338973b9
commit 013db4369f
2 changed files with 2 additions and 2 deletions

View File

@ -623,7 +623,7 @@ HTMLContentSink::GetAttributeValueAt(const nsIParserNode& aNode,
const nsString& value = aNode.GetValueAt(aIndex);
aResult.Truncate();
aResult.Append(value);
aResult.Trim(" \b\r\t\n",PR_TRUE,PR_TRUE,PR_TRUE);
aResult.Trim("\b\r\t\n",PR_TRUE,PR_TRUE,PR_TRUE);
// Strip quotes if present
PRUnichar first = aResult.First();

View File

@ -623,7 +623,7 @@ HTMLContentSink::GetAttributeValueAt(const nsIParserNode& aNode,
const nsString& value = aNode.GetValueAt(aIndex);
aResult.Truncate();
aResult.Append(value);
aResult.Trim(" \b\r\t\n",PR_TRUE,PR_TRUE,PR_TRUE);
aResult.Trim("\b\r\t\n",PR_TRUE,PR_TRUE,PR_TRUE);
// Strip quotes if present
PRUnichar first = aResult.First();