twitter-archive/twitter-text-js

&#hashtag is a formal hashtag

yy1441yy opened this issue · 0 comments

214   twttr.txt.regexen.hashtagBoundary = regexSupplant(/(?:^|$|[^&a-z0-9_#{latinAccentChars}#{nonLatinHashtagChars}])/);

in addition, /#hashtag is not a formal hashtag.
how about like this:

214   twttr.txt.regexen.hashtagBoundary = regexSupplant(/(?:^|$|[^/a-z0-9_#{latinAccentChars}#{nonLatinHashtagChars}])/);