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

View File

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