[Glitch] Fix hashtag links always being lowercase

Port 5e35aa8280 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
pull/1193/head
Eugen Rochko 2019-08-07 10:01:19 +02:00 committed by Thibaut Girka
parent e8e980cdac
commit e8ad0a8006
1 changed files with 1 additions and 1 deletions

View File

@ -172,7 +172,7 @@ export default class StatusContent extends React.PureComponent {
} }
onHashtagClick = (hashtag, e) => { onHashtagClick = (hashtag, e) => {
hashtag = hashtag.replace(/^#/, '').toLowerCase(); hashtag = hashtag.replace(/^#/, '');
if (this.props.parseClick) { if (this.props.parseClick) {
this.props.parseClick(e, `/timelines/tag/${hashtag}`); this.props.parseClick(e, `/timelines/tag/${hashtag}`);