h4cc / h4cc/slugger

Bug: Returns non-string binaries when called on Emojis

Open
#34 2 comments 2 reactions 0 assignees View on GitHub
Dominant language
Elixir
Stars
160
Forks
26
PR merge metrics
No merged PRs in 30d

Description

This returns invalid string binaries when the string contains an emoji:

```elixir
Slugger.slugify_downcase("Hi!")
# => "hi"

Slugger.slugify_downcase("Hi! 👋")
# => <<104, 105, 45, 159, 145, 139>>
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.