0
0
Fork 0

Fix non-lowercase hashtags not being picked up by the streaming API (#11508)

Regression from f371b32

Fix hashtag links always being lowercase
This commit is contained in:
Eugen Rochko 2019-08-07 10:01:19 +02:00 committed by GitHub
parent a8958d07e2
commit 5e35aa8280
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 8 additions and 8 deletions

View file

@ -112,7 +112,7 @@ export default class StatusContent extends React.PureComponent {
}
onHashtagClick = (hashtag, e) => {
hashtag = hashtag.replace(/^#/, '').toLowerCase();
hashtag = hashtag.replace(/^#/, '');
if (this.context.router && e.button === 0 && !(e.ctrlKey || e.metaKey)) {
e.preventDefault();