Problem/Motivation
See @webchick's #2418017-112: Implement autocomplete UI for the link widget for a lengthy explanation. Short version: having a node with the title "#Drupal is cool" and typing #Drupal in the autocomplete doesn't trigger the autocomplete, as expected, but typing "#Drupal does. Worse, typing "# seems to list all nodes in the system, which doesn't make sense.
Perhaps they're two separate problems, but they're so closely related that we're reporting them together.
Proposed resolution
TBD
Remaining tasks
TBD
User interface changes
TBD
API changes
None.
Comments
Comment #1
wim leersAssigning to @amateescu for initial feedback, since he's (AFAIK) the expert in this area.
Comment #2
swentel commentedSo the reason why # doesn't work is because it's blacklisted. "?" and "/" are blacklisted as well if they are the first character, set by 'data-autocomplete-first-character-blacklist' (see LinkWidget).
Not sure yet about the the quote charactor, but that probably has something todo with autocomplete.js as well.
Comment #16
smustgrave commentedThank you for creating this issue to improve Drupal.
We are working to decide if this task is still relevant to a currently supported version of Drupal. There hasn't been any discussion here for over 8 years which suggests that this has either been implemented or is no longer relevant. Your thoughts on this will allow a decision to be made.
Since we need more information to move forward with this issue, the status is now Postponed (maintainer needs more info). If we don't receive additional information to help with the issue, it may be closed after three months.
Thanks!
Comment #17
amateescu commentedI'm pretty sure this is still a problem, I'm not aware of any changes to that code since this issue was opened :)