Permalink
Browse files

HtmlPurifier changed behaviour with configuration value 'true'/'false…

…' as string (transformed into boolean)
  • Loading branch information...
1 parent 60ca7bf commit 4a01ba70dc37aa798a071ce01ebe6def7fb78d2f @robo47 committed Feb 4, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 tests/Robo47/Application/Resource/HtmlPurifierTest.php
@@ -41,7 +41,7 @@ public function testInitWithRegistryKey()
. ',code,pre,cite,q[cite],'
. 'blockquote[cite],sub,sup,p,'
. 'br',
- 'AutoFormat.Linkify' => 'true',
+ 'AutoFormat.Linkify' => true,
'Cache.SerializerPath' => TESTS_PATH . '/tmp/'
),
'registryKey' => 'HTMLPurifier',
@@ -82,7 +82,7 @@ public function testInit()
. ',code,pre,cite,q[cite],'
. 'blockquote[cite],sub,sup,p,'
. 'br',
- 'AutoFormat.Linkify' => 'true',
+ 'AutoFormat.Linkify' => true,
'Cache.SerializerPath' => TESTS_PATH . '/tmp/'
),
);

0 comments on commit 4a01ba7

Please sign in to comment.