Do not truncate a legal attribute value when trying to ignore '/' in a short-hand-tag. b=125647, r=heikki, sr=jst, a=scc
git-svn-id: svn://10.0.0.236/trunk@116925 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -1469,7 +1469,7 @@ void CAttributeToken::SanitizeKey() {
|
||||
// legal part
|
||||
if (iter != --end) {
|
||||
nsAutoString str;
|
||||
CopyUnicodeTo(begin, iter, str);
|
||||
CopyUnicodeTo(begin, ++iter, str);
|
||||
mTextKey.Rebind(str);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user