Correct some typos
This commit is contained in:
parent
09e86d0ebf
commit
218f29f296
20 changed files with 37 additions and 37 deletions
|
|
@ -47,9 +47,9 @@ type sanitizer struct {
|
|||
addEscape bool
|
||||
}
|
||||
|
||||
// Transform uses a sliding window alogorithm to detect C0 and C1
|
||||
// Transform uses a sliding window algorithm to detect C0 and C1
|
||||
// ASCII control sequences as they are read and replaces them
|
||||
// with equivelent inert characters. Characters that are not part
|
||||
// with equivalent inert characters. Characters that are not part
|
||||
// of a control sequence are not modified.
|
||||
func (t *sanitizer) Transform(dst, src []byte, atEOF bool) (nDst, nSrc int, err error) {
|
||||
lSrc := len(src)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue