Permalink
Browse files

Removed :javascript filter

  • Loading branch information...
1 parent a525eb8 commit 71401b7c45fe2ee9ed8c0934500046c53be4de98 Tj Holowaychuk committed Mar 5, 2011
Showing with 1 addition and 7 deletions.
  1. +0 −6 test/filters.test.js
  2. +1 −1 test/jade.test.js
@@ -52,12 +52,6 @@ module.exports = {
assert.equal('<![CDATA[\nfoo\nbar\n]]><p>something else</p>', render(':cdata\n | foo\n | bar\np something else'));
},
- 'test :javascript filter': function(assert){
- assert.equal(
- '<script type="text/javascript">\nalert(\'foo\')</script>',
- render(':javascript\n | alert(\'foo\')'));
- },
-
'test :markdown filter': function(assert){
assert.equal(
'<h1>foo</h1>\n\n<ul><li>bar</li><li>baz</li></ul>',
View
@@ -401,7 +401,7 @@ module.exports = {
var err;
try {
render([
- ':javascript',
+ ':cdata',
' | foo',
' | bar',
' | bar',

0 comments on commit 71401b7

Please sign in to comment.