projects
/
scpubgit/HTML-String.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
4f4204a
)
Add a failing test for unwanted escaping
Florian Ragwitz [Fri, 13 Sep 2013 19:01:39 +0000 (15:01 -0400)]
xt/tt.t
patch
|
blob
|
blame
|
history
diff --git
a/xt/tt.t
b/xt/tt.t
index
cd026e7
..
02439a7
100644
(file)
--- a/
xt/tt.t
+++ b/
xt/tt.t
@@
-47,6
+47,15
@@
is(
is( do_tt('"0"', {}), '"0"' );
{
+ use utf8;
+
+ is(
+ do_tt('<li>foo – bar.</li>', {}),
+ '<li>foo – bar.</li>',
+ );
+}
+
+{
my $tmpl = q[
[%- MACRO test(name, value) BLOCK;
IF !value.length;