fixed some tests

This commit is contained in:
yusing
2025-01-29 09:40:37 +08:00
parent 60f83bb7bf
commit e3e3f1dfdc
5 changed files with 28 additions and 33 deletions

View File

@@ -133,6 +133,7 @@ func escapeAndAppend(s string, buf *[]byte) {
*buf = append(*buf, "	"...)
case '\n':
*buf = append(*buf, "<br>"...)
*buf = append(*buf, prefixHTML...)
default:
*buf = append(*buf, s[i])
}