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
Родитель d4a8db354a
Коммит a4e33ea18a
2 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

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

Просмотреть файл

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