mirror of
				https://git.sr.ht/~cadence/bibliogram
				synced 2025-10-31 03:25:36 +00:00 
			
		
		
		
	Disallow newlines in hashtag
This commit is contained in:
		
							parent
							
								
									eacce79dc5
								
							
						
					
					
						commit
						5024dc92af
					
				| @ -43,7 +43,7 @@ let constants = { | |||||||
| 		timeline_fetch_first: 12, | 		timeline_fetch_first: 12, | ||||||
| 		username_regex: "[\\w.]+", | 		username_regex: "[\\w.]+", | ||||||
| 		shortcode_regex: "[\\w-]+", | 		shortcode_regex: "[\\w-]+", | ||||||
| 		hashtag_regex: "[^ `~!@#\\$%^&*()\\-=+[\\]{};:\"',<.>/?\\\\]+" | 		hashtag_regex: "[^ \\n`~!@#\\$%^&*()\\-=+[\\]{};:\"',<.>/?\\\\]+" | ||||||
| 	}, | 	}, | ||||||
| 
 | 
 | ||||||
| 	resources: { | 	resources: { | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user