Skip to content

Fix character calculation on GitHub diff views

Warren Gifford requested to merge fix-github-diffs into master

Created by: chrismwendt

Code intelligence on GitHub PR views broke due to the character calculation being off-by-one.

It looks like new versions of GitHub have a data-code-marker attribute instead of a blob-code-marker-* class.

Fixes https://sourcegraph.slack.com/archives/C07KZF47K/p1546709796044500

Merge request reports

Loading