Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Removed :javascript filter

  • Loading branch information...
commit 71401b7c45fe2ee9ed8c0934500046c53be4de98 1 parent a525eb8
TJ Holowaychuk tj authored
Showing with 1 addition and 7 deletions.
  1. +0 −6 test/filters.test.js
  2. +1 −1  test/jade.test.js
6 test/filters.test.js
View
@@ -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>',
2  test/jade.test.js
View
@@ -401,7 +401,7 @@ module.exports = {
var err;
try {
render([
- ':javascript',
+ ':cdata',
' | foo',
' | bar',
' | bar',
Please sign in to comment.
Something went wrong with that request. Please try again.