Skip to content

Commit

Permalink
Fix string to be template string (#317)
Browse files Browse the repository at this point in the history
  • Loading branch information
karlhorky committed Oct 9, 2020
1 parent ada8fcb commit f74b9df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/highlight.js
Original file line number Diff line number Diff line change
Expand Up @@ -322,7 +322,7 @@ export default function(defaultAstGenerator, defaultStyle) {
className: language ? `language-${language}` : undefined,
style: {
...style['code[class*="language-"]'],
...style['code[class*="language-${language}"]']
...style[`code[class*="language-${language}"]`]
}
},
useInlineStyles = true,
Expand Down

0 comments on commit f74b9df

Please sign in to comment.