Skip to content

Commit

Permalink
Allow tabs in text file
Browse files Browse the repository at this point in the history
  • Loading branch information
tgulacsi committed Mar 12, 2021
1 parent 16ace21 commit 9cddc7a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index/index.go
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,7 @@ func validUTF8IgnoringPartialTrailingRune(p []byte) bool {

func isBinary(p []byte) bool {
for _, c := range p {
if c < 10 {
if c < 9 {
return true
}
}
Expand Down

0 comments on commit 9cddc7a

Please sign in to comment.