Skip to content

Commit

Permalink
fix: new line issue
Browse files Browse the repository at this point in the history
  • Loading branch information
r3tr0ananas committed Nov 13, 2024
1 parent 081d28f commit 29029fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion codec.go
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ func Decode(encoded string) ([]byte, error) {
_, reverseMapping := getMap()

for _, str := range divided {
if str == "" {
if str == "" || str == "\n" {
continue
}

Expand Down

0 comments on commit 29029fe

Please sign in to comment.