fix: CJK search (closes #163)
This commit is contained in:
		
							parent
							
								
									6dd4c64a4c
								
							
						
					
					
						commit
						7ffc907907
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -1,5 +1,5 @@
 | 
			
		|||
; (async function() {
 | 
			
		||||
  const encoder = (str) => str.toLowerCase().split(/([^a-z]|[^\x00-\x7F])+/)
 | 
			
		||||
  const encoder = (str) => str.toLowerCase().split(/([^a-z]|[^\x00-\x7F])/)
 | 
			
		||||
  const contentIndex = new FlexSearch.Document({
 | 
			
		||||
    cache: true,
 | 
			
		||||
    charset: "latin:extra",
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue