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

Usage of Zero Width Space #8203 in info.js #2712

Closed
nanghele opened this issue Oct 12, 2018 · 5 comments
Closed

Usage of Zero Width Space #8203 in info.js #2712

nanghele opened this issue Oct 12, 2018 · 5 comments

Comments

@nanghele
Copy link

Hi,
I saw in js/commands/info.js is used the zero width space entity #8203 to mark the any single element of a file path.
As you can see in the screenshot below the info box displays correctly the informations but when I copy the path displayed and I past it in a browser I get a 404 error since the browser considers the #8203 as a regular char.

Is it possible to remove #8203 from the displayed path ?

image

@johnfort
Copy link

I support this question

@nao-pon
Copy link
Member

nao-pon commented Oct 13, 2018

@nanghele , @fortcms "Zero Width Space" is inserted for the purpose of appropriately breaking a long path when the dialog width is narrow. If you want to get the item URL, right click on the "link" item and obtain the URL.

@johnfort
Copy link

johnfort commented Oct 14, 2018

@nao-pon the link to the entry point (
I have long wanted to say that there is no real link from elfinder

@nanghele
Copy link
Author

@nao-pon in the screenshot the field "Percorso" is not a link. It would be nice an useful to copy this path string and paste into a browser as a part of URI without bringing that special char.

@nao-pon
Copy link
Member

nao-pon commented Oct 15, 2018

OK, I see. I'll make implement remove ZWSP with mousedown event.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants