aboutsummaryrefslogtreecommitdiffstats
path: root/packages/dev-tools-pages/ts/highlight.tsx
diff options
context:
space:
mode:
authorAugust Skare <post@augustskare.no>2018-10-30 16:07:25 +0800
committerAugust Skare <post@augustskare.no>2018-10-30 16:07:25 +0800
commiteb9d80214693f7fb7c95ab6da546b6d89d33bee6 (patch)
treed949930c5d1a622833446323504ad53ca0ec4ed3 /packages/dev-tools-pages/ts/highlight.tsx
parent6b11ca6c1dc2a81abb17e85204f708f1ad68dec9 (diff)
downloaddexon-sol-tools-eb9d80214693f7fb7c95ab6da546b6d89d33bee6.tar
dexon-sol-tools-eb9d80214693f7fb7c95ab6da546b6d89d33bee6.tar.gz
dexon-sol-tools-eb9d80214693f7fb7c95ab6da546b6d89d33bee6.tar.bz2
dexon-sol-tools-eb9d80214693f7fb7c95ab6da546b6d89d33bee6.tar.lz
dexon-sol-tools-eb9d80214693f7fb7c95ab6da546b6d89d33bee6.tar.xz
dexon-sol-tools-eb9d80214693f7fb7c95ab6da546b6d89d33bee6.tar.zst
dexon-sol-tools-eb9d80214693f7fb7c95ab6da546b6d89d33bee6.zip
rename pesudo element in code gutter
Diffstat (limited to 'packages/dev-tools-pages/ts/highlight.tsx')
-rw-r--r--packages/dev-tools-pages/ts/highlight.tsx2
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>`;
})