mirror of
				https://github.com/ZetaKebab/quartz.git
				synced 2025-11-04 06:49:49 +00:00 
			
		
		
		
	fix: CJK search (closes #163)
This commit is contained in:
		@@ -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",
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user