fix session manager concurrency error and error in HTML Checker doFlushNewlines

This commit is contained in:
2025-11-05 22:13:49 -07:00
parent 5571a58ea2
commit 2783d94952
2 changed files with 9 additions and 1 deletions
+1 -1
View File
@@ -420,7 +420,7 @@ func (ht *htmlCheckerImpl) doFlushWhitespace() {
func (ht *htmlCheckerImpl) doFlushNewlines() {
// Measure the number of line breaks we have.
lineBreaks, crs := 0, 0
for ch := range []byte(ht.tempBuffer.String()) {
for _, ch := range []byte(ht.tempBuffer.String()) {
switch ch {
case '\r':
crs++