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:
parent
26338973b9
commit
013db4369f
@ -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();
|
||||
|
||||
@ -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();
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user