Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using unicode format codepoint Word Joiner is buggy #857

Open
clavelm opened this issue Oct 10, 2023 · 0 comments
Open

Using unicode format codepoint Word Joiner is buggy #857

clavelm opened this issue Oct 10, 2023 · 0 comments

Comments

@clavelm
Copy link

clavelm commented Oct 10, 2023

Context

I’m using markdown on the fediverse where support of it depends of the client.
Let’s say I’m sharing [message](https://url.c/)
I’m adding unicode word joiner WJ to invisibly separate markdown syntax from it’s content so the closing parenthesis is not added at the end of the URL breaking it.
Same thing to separate the text of the message from the squared brackets.
Maybe there is a better way to do it (advise me).

Testing it on dillinger

Not being sure if it would break the markdown, I tried it here, but dillinger has a problem with it.

So I paste [⁠message⁠](⁠https://url.c/⁠) (4 WJ are added, you can get them by copying the code).
Here as seen in notepad++:
notepad++

This is how it renders (I added a newline for better selection later):
2023 10 10 104657 - firefox

But, there are 4 invisible entities here (only the first 3 selected in that screenshot):
2023 10 10 104823 - firefox

If the cursor is just after the fourth entity, something happens near the first t of https:
2023 10 10 105021 - firefox

Trying to delete or replace that last entity do the action on the ending parenthesis.
2023 10 10 105536 - firefox

Replacing the third entity with something visible inserts it between the / and the ) and the invisible entity disappears.

The displayed text is not matching the selection/edition.

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

No branches or pull requests

1 participant