Fix duplicate text in multiple tag search by removing selective coloring on searched tags only #926 (#948)

This commit is contained in:
Micah Jerome Ellison 2020-05-09 15:13:16 -07:00 committed by GitHub
parent 1f1a57db89
commit fcf42e3233
2 changed files with 13 additions and 9 deletions

View file

@ -107,4 +107,15 @@ Feature: Tagging
2013-06-10 15:40 I met with @dan.
| As alway's he shared his latest @idea on how to rule the world with me.
| inst
"""
"""
Scenario: Searching a journal for multiple tags with -and should display entries with those tags.
Given we use the config "tags.yaml"
When we run "jrnl -and @idea @journal"
Then the output should be
"""
2013-04-09 15:39 I have an @idea:
| (1) write a command line @journal software
| (2) ???
| (3) PROFIT!
"""