зеркало из https://github.com/mozilla/gecko-dev.git
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:
Родитель
d4a8db354a
Коммит
a4e33ea18a
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче