# gitk: bug viewing diffs with the word items

1 messages from 2017-03-21 to 2017-03-21. Participants: Joshua Clayton.
Thread: https://gitlist.dev/t/45459

## Joshua Clayton, 2017-03-21 21:47

Subject: gitk: bug viewing diffs with the word items
Message-ID: <8cd30c4d-f21d-142b-5444-eb9a3bba5d4f@gmail.com>
URL: https://gitlist.dev/e/8cd30c4d-f21d-142b-5444-eb9a3bba5d4f%40gmail.com

```
Hi.

I see a bug with the diff view of gitk.

when the text " <items>" or " </items>" appears

on one of the surrounding contexts lines in a diff,

gitk treats it as part of the "Old Version", highlighting it in red,

and hiding it if "New Version" is selected

I don't know if any other magic words are affected

ied it with the master


bug confirmed exists in github/git/git/master

I created a small repository that shows the error for me:

clone it to reproduce the behavior

https://github.com/d4ddi0/gitk_diff_view


~Joshua Clayton


```
