#3536 hack the code table to display diff highlights in PR compare
Merged by pingou. Opened by ryanlerch.
ryanlerch/pagure pr-diff-highlighting  into  master

Download 3536.patch

Previously the highlighting of diffs in the files changed
tab of the PR page used pygments. with pygments removed,
and using highlight.js everywhere else, diffs for commits
were no longer highlighted.

Using highlight.js in this view is a bit tricky without some
major work to changing how inline comments work #3488, so this
PR is a stop-gap to get highlighting of diffs here working until
we can fix this properly.

Fixes #3531

Screenshot_from_2018-08-21_15-10-11.png

:thumbsup:

rebased onto 19dc17a0847aef3d0d06f18b87d524241142536f

I really don't quite like this approach, but it is better than what we have now and I am merging it in the hope that we can revert it soon.

jenkins is green, let's merge :)

Pull-Request has been merged by pingou

Metadata