Skip to content
Permalink
Browse files

Fix style on search cancel

  • Loading branch information...
antonmedv committed Dec 15, 2018
1 parent 35d5d74 commit eb6461f3a8dcc75d6360fa1bbf78289736cce573
Showing with 1 addition and 1 deletion.
  1. +1 −1 print.js
@@ -4,7 +4,7 @@ const config = require('./config')

function format(value, style, highlightStyle, regexp, transform = x => x) {
if (!regexp) {
return config.string(transform(value))
return style(transform(value))
}
const marked = value
.replace(regexp, s => '<highlight>' + s + '<highlight>')

0 comments on commit eb6461f

Please sign in to comment.
You can’t perform that action at this time.