mirror of
https://github.com/tiny-craft/tiny-rdm.git
synced 2025-10-23 23:23:09 +08:00
refactor: split connection_service into connection_service and browser_service in go
refactor: split connectionStore into connectionStore and browserStore in js
This commit is contained in:
@@ -14,7 +14,7 @@ func containsBinary(str string) bool {
|
||||
//}
|
||||
rs := []rune(str)
|
||||
for _, r := range rs {
|
||||
if !unicode.IsPrint(r) {
|
||||
if !unicode.IsPrint(r) && r != '\n' {
|
||||
return true
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user