[Glitch] Fix hashtag links always being lowercase

Port 5e35aa8280 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
This commit is contained in:
Eugen Rochko authored and Thibaut Girka committed 2019-08-07 15:35:44 +02:00
1 parent e8e980cdac
commit e8ad0a8006
1 file changed
+1 -1
@@ -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}`);