Skip to content
This repository has been archived by the owner on Sep 18, 2021. It is now read-only.

change behavior of #hash autolinks #43

Open
pl1 opened this issue Feb 7, 2012 · 1 comment
Open

change behavior of #hash autolinks #43

pl1 opened this issue Feb 7, 2012 · 1 comment

Comments

@pl1
Copy link

pl1 commented Feb 7, 2012

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.

@hepwori
Copy link

hepwori commented Feb 8, 2012

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.

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

No branches or pull requests

2 participants