Permalink
Browse files

dangerous comments

  • Loading branch information...
douglascrockford committed Nov 18, 2010
1 parent 35ec4a5 commit d98f75307977f91aa25d4567e8ad1bdc043abae5
Showing with 1 addition and 1 deletion.
  1. +1 −1 fulljslint.js
View
@@ -927,7 +927,7 @@ var JSLINT = (function () {
// Regular expressions. Some of these are ridiculously long.
// unsafe comment or string
- ax = /@cc|<\/?|script|\]*s\]|<\s*!|&lt/i,
+ ax = /@cc|<\/?|script|\]\s*\]|<\s*!|&lt/i,
// unsafe characters that are silently deleted by one or more browsers
cx = /[\u0000-\u001f\u007f-\u009f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/,
// token

0 comments on commit d98f753

Please sign in to comment.