Skip to content

Commit

Permalink
Fixed script() etc pipe-less text with attrs
Browse files Browse the repository at this point in the history
  • Loading branch information
tj committed Mar 5, 2011
1 parent ec19ffa commit 89f5fd1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/parser.js
Expand Up @@ -378,7 +378,7 @@ Parser.prototype = {
else tag.text = new nodes.Text('\\n');
}

tag.textOnly = ~textOnly.indexOf(name);
tag.textOnly = ~textOnly.indexOf(tag.name);

// block?
if ('indent' == this.peek.type) {
Expand Down

0 comments on commit 89f5fd1

Please sign in to comment.