From 8c3977ce0f6395eb79be1b2579830b4193ea1605 Mon Sep 17 00:00:00 2001
From: Christian Schneider
Date: Mon, 8 Dec 2008 17:18:12 +0000
Subject: Fix it_html::sanitize with b/br combination (tag prefix of other tag
bug)
---
tests/it_html.t | 6 ++++++
1 file changed, 6 insertions(+)
(limited to 'tests')
diff --git a/tests/it_html.t b/tests/it_html.t
index 86afbf8..e77a0a1 100755
--- a/tests/it_html.t
+++ b/tests/it_html.t
@@ -115,6 +115,12 @@ is(
'it_html::sanitize with latin1'
);
+is(
+ it_html::sanitize('a
b'),
+ "a
b",
+ 'it_html::sanitize with b and br (tag prefix of other tag bug)'
+);
+
is(
U("/foo.html", array('bar' => array('gna' => 42, 'qux' => array('quux' => "", 'gnöp' => "fasel")))),
'/foo.html?bar[gna]=42&bar[qux][quux]=%3CZ%FCrich%3E&bar[qux][gn%F6p]=fasel',
--
cgit v1.2.3