correction

master
Charles Iliya Krempeaux 2024-02-13 08:41:23 -08:00
parent 620c0c2a0b
commit 853ab9c1e0
1 changed files with 1 additions and 1 deletions

View File

@ -2,7 +2,7 @@ package htmlescape
func String(str string) string { func String(str string) string {
var buffer [bufferSize]byte var buffer [bufferSize]byte
var p []byte = buffer[0:9] var p []byte = buffer[0:0]
p, _ = AppendString(p, str) p, _ = AppendString(p, str)