diff options
Diffstat (limited to 'modules/charset/escape.go')
-rw-r--r-- | modules/charset/escape.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/charset/escape.go b/modules/charset/escape.go index abe813b465..d2e8fb0d87 100644 --- a/modules/charset/escape.go +++ b/modules/charset/escape.go @@ -74,6 +74,7 @@ readingloop: for err == nil { n, err = text.Read(buf[readStart:]) bs := buf[:n+readStart] + n = len(bs) i := 0 for i < len(bs) { |