keybase / keybase/client

chat inserts invisible unicode 200B on empty lines that and causes some trouble

Open
#9,562 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Go
Stars
9.2k
Forks
1.3k
Avg merge
12h 58m
Merged PRs (30d)
56

Description

I use keybase freqently and discovered that if I send a chat message like
"Hi there

its me"
and copy the text to clipboard and then paste. (or on mac run: pbpaste | less)

You will get a extra 0x200B (zero-size-space) character on every empty line from the chat.
Its hardly visible in most scenarios and cause trouble when pasted into config files or code.
Is new-line not enough?

best
Jonas

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the issue in the chat client by sending a message with an empty line, copying it, and inspecting the clipboard output with pbpaste | less. Trace the chat-to-clipboard path responsible for empty lines; done means pasted text no longer contains U+200B characters on those lines, while ordinary line breaks remain intact.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
desktop
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.