We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent aa38d42 commit 0f5e3e9Copy full SHA for 0f5e3e9
.eslintignore
@@ -2,3 +2,4 @@ node_modules/*
2
example/*
3
example/node_modules/*
4
coverage/*
5
+test/fixtures/*
client-overlay.js
@@ -35,12 +35,12 @@ var colors = {
35
darkgrey: '6d7891',
36
};
37
38
-var {encode: htmlEncode} = require('html-entities');
+var htmlEntities = require('html-entities');
39
40
function showProblems(type, lines) {
41
clientOverlay.innerHTML = '';
42
lines.forEach(function (msg) {
43
- msg = ansiHTML(htmlEncode(msg));
+ msg = ansiHTML(htmlEntities.encode(msg));
44
var div = document.createElement('div');
45
div.style.marginBottom = '26px';
46
div.innerHTML = problemType(type) + ' in ' + msg;
0 commit comments