Do not truncate a legal attribute value when trying to ignore '/' in a short-hand-tag. b=125647, r=heikki, sr=jst, a=scc
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