handle ="

main
Bel LaPointe 2025-02-23 17:00:44 -07:00
parent 73e5a4ef41
commit d6e483bc42
1 changed files with 2 additions and 1 deletions

View File

@ -19,8 +19,9 @@ type replacer struct {
func (r replacer) Read(b []byte) (int, error) {
n, err := r.r.Read(b)
c := bytes.ReplaceAll(b[:n], []byte("\r"), []byte("\n"))
c = bytes.ReplaceAll(c, []byte(`,="`), []byte(`,"`))
copy(b, c)
return n, err
return len(c), err
}
func main() {