rename pesudo element in code gutter

This commit is contained in:
August Skare
2018-10-30 09:07:25 +01:00
parent 6b11ca6c1d
commit eb9d802146
2 changed files with 2 additions and 2 deletions

View File

@@ -31,7 +31,7 @@ function diffHighlight(language: string, code: any, gutter: any) {
const g = gutter[index];
return `<span data-test="${g !== undefined ? g + 'x' : ''}" class="line-${type}">${
return `<span data-gutter="${g !== undefined ? g + 'x' : ''}" class="line-${type}">${
hljs.highlight(language, line).value
}</span>`;
})