no_escape filter for TT
[scpubgit/HTML-String.git] / xt / tt.t
diff --git a/xt/tt.t b/xt/tt.t
index b8c16e4..bd0af60 100644 (file)
--- a/xt/tt.t
+++ b/xt/tt.t
@@ -23,4 +23,9 @@ is(
     '<tag>Hi &lt;bob&gt;</tag>',
 );
 
+is(
+    do_tt('<tag>[% foo | no_escape %]</tag>', { foo => 'Hi <bob>' }),
+    '<tag>Hi <bob></tag>',
+);
+
 done_testing;