[Glitch] Fix hashtag links always being lowercase
Port 277acb8772 to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
			
			
This commit is contained in:
		
							parent
							
								
									ceed029a36
								
							
						
					
					
						commit
						37294ee595
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -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}`); | ||||
|  |  | |||
		Loading…
	
		Reference in a new issue