another style pass

This commit is contained in:
2026-03-12 11:58:16 -06:00
parent 7e34c33e58
commit b69a5e57a2
8 changed files with 29 additions and 49 deletions
+2 -6
View File
@@ -1071,12 +1071,8 @@ func (ht *htmlCheckerImpl) Reset() {
ht.outputBuffer.Reset()
ht.tempBuffer.Reset()
ht.tagStack.Clear()
for u := range ht.externalReferences {
delete(ht.externalReferences, u)
}
for k := range ht.internalReferences {
delete(ht.internalReferences, k)
}
clear(ht.externalReferences)
clear(ht.internalReferences)
for _, c := range ht.counters {
c.Reset()
}