Skip to content

Commit

Permalink
Fix highlighting of mode test failures
Browse files Browse the repository at this point in the history
  • Loading branch information
marijnh committed Dec 28, 2015
1 parent d395fec commit 16e51fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/mode_test.js
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@
for (var i = 0; i < output.length; ++i) {
var style = output[i].style, val = output[i].text;
s +=
'<td class="mt-token"' + (i == diffAt * 2 ? " style='background: pink'" : "") + '>' +
'<td class="mt-token"' + (i == diffAt ? " style='background: pink'" : "") + '>' +
'<span class="cm-' + esc(String(style)) + '">' +
esc(val.replace(/ /g,'\xb7')) + // · MIDDLE DOT
'</span>' +
Expand Down

0 comments on commit 16e51fc

Please sign in to comment.