Permalink
Browse files

fixed the tokenizer for script tags

  • Loading branch information...
1 parent 277c496 commit 2b91107e9639498b88a35dd338645c5c0c12e5f0 @substack committed Jul 10, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/tokenize.js
View
@@ -40,7 +40,7 @@ module.exports = function (opts) {
}
var len;
- if (evname === 'text') {
+ if (evname === 'text' || evname === 'script') {
len = arg.length;
}
else {

0 comments on commit 2b91107

Please sign in to comment.