Merge pull request #401 from eikek/fix-replace-cards

Preserve context highlighting from full-text search
This commit is contained in:
mergify[bot] 2020-10-27 23:57:12 +00:00 committed by GitHub
commit 96d7eb5c97
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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