Skip to content

Conversation

@jonbgamble
Copy link
Contributor

assertEquals(sc("⠀uh⠀⠀"), "uh")
// https://blankcopypaste.com
assertEquals(sc(" ︎ ︎ ︎ ︎ ︎ ︎ ︎ ︎ ︎ ︎"), "")
// assertEquals(sc(" ︎ ︎ ︎ ︎ ︎ ︎ ︎ ︎ ︎ ︎"), "")
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

that's a bit concerning. I added that test after such chars were used and abused by bored kids, to confuse other forum users.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

they're used in compound unicode characters. anything gendered.

@ornicar ornicar merged commit 2e883c0 into lichess-org:master Nov 15, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Man facepalming breaks in the Inbox chat

2 participants