diff options
Diffstat (limited to 'packages/dev-tools-pages/ts/highlight.tsx')
-rw-r--r-- | packages/dev-tools-pages/ts/highlight.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/dev-tools-pages/ts/highlight.tsx b/packages/dev-tools-pages/ts/highlight.tsx index 64c5f9a17..6efba02f8 100644 --- a/packages/dev-tools-pages/ts/highlight.tsx +++ b/packages/dev-tools-pages/ts/highlight.tsx @@ -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>`; }) |