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

Misdetected link icon when a link label consists entirely of emojis #678

Open
wrclark opened this issue Aug 18, 2024 · 1 comment
Open
Labels
bug Something isn't working

Comments

@wrclark
Copy link

wrclark commented Aug 18, 2024

Screenshot from 2024-08-18 02-39-11

Index
=> /demo/hello.gmi  hello.gmi <20 B>
=> /demo/%D0%BC%D1%96%D0%B6%D0%BD%D0%B0%D1%80%D0%BE%D0%B4%D0%BD%D0%B8%D0%B9/  міжнародний/
=> /demo/%F0%9F%A6%8A%F0%9F%90%A6%F0%9F%A6%89%F0%9F%90%9E%F0%9F%A6%93/  🦊🐦🦉🐞🦓/
$ ls -l capsule/demo
total 12
drwxrwxr-x 2 william william 4096 Aug 18 02:04 🦊🐦🦉🐞🦓
-rw-rw-r-- 1 william william   20 Aug 18 02:18 hello.gmi
drwxrwxr-x 2 william william 4096 Aug 18 01:15 міжнародний

testing my gemini server and noticed this

@skyjake skyjake added the bug Something isn't working label Aug 18, 2024
@skyjake
Copy link
Owner

skyjake commented Aug 18, 2024

The logic for picking the custom link icon should be fixed to check if there is more than one consecutive Emoji in the label.

@skyjake skyjake changed the title no 'file arrow' if the file name consists entirely of emojis Misdetected link icon when a link label consists entirely of emojis Dec 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants