Skip to content

Commit

Permalink
cdata filter test
Browse files Browse the repository at this point in the history
  • Loading branch information
tj committed Mar 10, 2012
1 parent d533f9e commit 9c20ecb
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
6 changes: 6 additions & 0 deletions test/cases/filters.cdata.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<fb:users>
<fb:user age="2"><![CDATA[
tobi
]]>
</fb:user>
</fb:users>
8 changes: 8 additions & 0 deletions test/cases/filters.cdata.jade
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@

users = [{ name: 'tobi', age: 2 }]

fb:users
for user in users
fb:user(age=user.age)
:cdata
#{user.name}

0 comments on commit 9c20ecb

Please sign in to comment.