mirror of
https://github.com/TheAnachronism/docspell.git
synced 2025-06-21 09:58:26 +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 =
|
replaceItem item =
|
||||||
case Dict.get item.id newItems of
|
case Dict.get item.id newItems of
|
||||||
Just ni ->
|
Just ni ->
|
||||||
ni
|
{ ni | highlighting = item.highlighting }
|
||||||
|
|
||||||
Nothing ->
|
Nothing ->
|
||||||
item
|
item
|
||||||
|
Reference in New Issue
Block a user