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:
harishd@netscape.com
2002-03-20 00:25:34 +00:00
parent 038af60ff3
commit 3de3229b28
2 changed files with 2 additions and 2 deletions

View File

@@ -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);
}
}