Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix typo in cleanse(). My bad!

  • Loading branch information...
commit 9141b981a7fe323637141574dbbbe9ad1482f144 1 parent 9a7bc85
@mathiasbynens mathiasbynens authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  console.js
View
2  console.js
@@ -69,7 +69,7 @@ function stringify(o, simple) {
}
function cleanse(s) {
- return (s||'').replace(/[<>&]/g, function (m) { return {'&':'&amp;','<':'&lt;'}[m];});
+ return (s||'').replace(/[<&]/g, function (m) { return {'&':'&amp;','<':'&lt;'}[m];});
}
function run(cmd) {
Please sign in to comment.
Something went wrong with that request. Please try again.