Autolinking #1
-
I just discovered the auto-hashtag setting, which does seem nice, but when I write a list: Five things to work on:
#1 fix all wordpress plugins
#2 have fun
The #2 and #1 become links. I looked through the code, but don’t see any easy way of using a hook or other method of trivially blocking your code from running in that case? It seems likely that most people don’t want to create tag/autolink simply when there are numbers? And I wonder if your regexp should change from [A-Za-z0-9]+ to something like [A-Za-z][A-Za-z0-9]+
to require a starting letter? or something along those lines? Or maybe offering a way for the user to customize the regexp, either through a setting or a filter hook?Thanks.
- The topic ‘Autolinking #1’ is closed to new replies.