twitter-text-js icon indicating copy to clipboard operation
twitter-text-js copied to clipboard

change behavior of #hash autolinks

Open pl1 opened this issue 13 years ago • 1 comments

currently, #hash2 in the string "#hash1/#hash2" will not be autolinked because / is not a valid boundary. Allowing / as a valid hashtagBoundary is a possible fix, but it will also cause #hash to be mistakenly autolinked in "possible.url/#hash". Still, this might be a more desirable behavior.

pl1 avatar Feb 07 '12 23:02 pl1

Can't you just make URL linkification take precedence? Any /#hashes which aren't part of a URL get linked as hashtags, but those that are get linked as part of the URL.

hepwori avatar Feb 08 '12 00:02 hepwori