diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2019-08-07 10:01:19 +0200 |
---|---|---|
committer | Thibaut Girka <thib@sitedethib.com> | 2019-08-07 15:35:44 +0200 |
commit | e8ad0a800616a1f95fd71ab8457869e716212ca0 (patch) | |
tree | 2e1b3be0201e53c96f05993f1295b0e97bb14166 | |
parent | e8e980cdac9d1c3a81d9f30412f6de4cd021c225 (diff) |
[Glitch] Fix hashtag links always being lowercase
Port 5e35aa82802b09a63d4625fa9c1837ad75178553 to glitch-soc Signed-off-by: Thibaut Girka <thib@sitedethib.com>
-rw-r--r-- | app/javascript/flavours/glitch/components/status_content.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/javascript/flavours/glitch/components/status_content.js b/app/javascript/flavours/glitch/components/status_content.js index f8b101dc4..95a4fe3fa 100644 --- a/app/javascript/flavours/glitch/components/status_content.js +++ b/app/javascript/flavours/glitch/components/status_content.js @@ -172,7 +172,7 @@ export default class StatusContent extends React.PureComponent { } onHashtagClick = (hashtag, e) => { - hashtag = hashtag.replace(/^#/, '').toLowerCase(); + hashtag = hashtag.replace(/^#/, ''); if (this.props.parseClick) { this.props.parseClick(e, `/timelines/tag/${hashtag}`); |