Fix FAQ hydration error (#2050)
This commit is contained in:
		
							parent
							
								
									14fadbaed6
								
							
						
					
					
						commit
						5700a4090a
					
				@ -6,7 +6,7 @@ import { toString } from 'mdast-util-to-string'
 | 
			
		||||
const userGroup = '[\\w_]+'
 | 
			
		||||
const subGroup = '[A-Za-z][\\w_]+'
 | 
			
		||||
 | 
			
		||||
const mentionRegex = new RegExp('@(' + userGroup + '(?:\\/' + userGroup + ')?)', 'gi')
 | 
			
		||||
const mentionRegex = new RegExp('(?:^|\\s)@(' + userGroup + '(?:\\/' + userGroup + ')?)', 'gi')
 | 
			
		||||
const subRegex = new RegExp('~(' + subGroup + '(?:\\/' + subGroup + ')?)', 'gi')
 | 
			
		||||
const nostrIdRegex = /\b((npub1|nevent1|nprofile1|note1|naddr1)[02-9ac-hj-np-z]+)\b/g
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user