Skip to content

Slugified emoji turns out as an empty string #35

Open
@Betree

Description

@Betree

Hi, thanks for this awesome library!

We've faced a situation with strings only made of emojis.

Actual behavior

limax('😵️') === ''

Expected behavior

// Replace by emoji name
limax('😵️') === 'dizzy_face'

// Or by emoji code (as when pasted as an URL in the browser)
limax('😵️') === 'xn--w38h'

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions