Skip to content

Commit

Permalink
Added test for CSS filter
Browse files Browse the repository at this point in the history
  • Loading branch information
norman committed Oct 14, 2010
1 parent 5a6c46d commit f1b2ae7
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tests.json
Expand Up @@ -469,6 +469,11 @@
"html" : "hello\n<p></p>"
},

"content in a 'css' filter" : {
"haml" : ":css\n hello\n\n%p",
"html" : "<style type='text/css'>\n /*<![CDATA[*/\n hello\n /*]]>*/\n</style>\n<p></p>"
},

"content in a 'javascript' filter" : {
"haml" : ":javascript\n a();\n%p",
"html" : "<script type='text/javascript'>\n //<![CDATA[\n a();\n //]]>\n</script>\n<p></p>"
Expand Down

0 comments on commit f1b2ae7

Please sign in to comment.