Skip to content
This repository was archived by the owner on Jun 27, 2018. It is now read-only.

Commit c5e8879

Browse files
authored
Merge pull request #274 from TimNN/highlight-fix
fix nightly highlighting
2 parents d6cf0c6 + 159cd44 commit c5e8879

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

static/web.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -549,12 +549,12 @@
549549
return '<span class=ansi-' + COLOR_CODES[+colorCode] + '>' + text + '</span>';
550550
}).replace(/\x1b\[1m([^\x1b]*)(?:\x1b\(B)?\x1b\[0?m/g, function(original, text) {
551551
return "<strong>" + text + "</strong>";
552-
}).replace(/(?:\x1b\(B)?\x1b\[0m/g, '');
552+
}).replace(/(?:\x1b\(B)?\x1b\[0?m/g, '');
553553
}
554554

555555
//This affects how mouse acts on the program output.
556556
//Screenshots here: https://github.com/rust-lang/rust-playpen/pull/192#issue-145465630
557-
//If mouse hovers on eg. "<anon>:3", temporarily show that line(3) into view by
557+
//If mouse hovers on eg. "<anon>:3", temporarily show that line(3) into view by
558558
//selecting it entirely and move editor's cursor to the beginning of it;
559559
//Moves back to original view when mouse moved away.
560560
//If mouse left click on eg. "<anon>:3" then the editor's cursor is moved

0 commit comments

Comments
 (0)