mirror of
https://github.com/TheAnachronism/docspell.git
synced 2025-02-15 20:33:26 +00:00
Merge pull request #401 from eikek/fix-replace-cards
Preserve context highlighting from full-text search
This commit is contained in:
commit
96d7eb5c97
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user