mirror of
				https://github.com/TheAnachronism/docspell.git
				synced 2025-11-03 18:00:11 +00:00 
			
		
		
		
	Merge pull request #401 from eikek/fix-replace-cards
Preserve context highlighting from full-text search
This commit is contained in:
		@@ -92,7 +92,7 @@ replaceIn origin replacements =
 | 
			
		||||
        replaceItem item =
 | 
			
		||||
            case Dict.get item.id newItems of
 | 
			
		||||
                Just ni ->
 | 
			
		||||
                    ni
 | 
			
		||||
                    { ni | highlighting = item.highlighting }
 | 
			
		||||
 | 
			
		||||
                Nothing ->
 | 
			
		||||
                    item
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user