Allowed whitespace in front of opening tags

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6772 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
the_undefined 2008-05-08 13:19:38 +00:00
parent de5f744a9c
commit 493d5e61e1

View file

@ -491,7 +491,7 @@ class CakeTestCase extends UnitTestCase {
foreach ($tags as $tag => $attributes) {
$regex[] = array(
sprintf('Open %s tag', $tag),
sprintf('<%s', preg_quote($tag, '/')),
sprintf('[\s]*<%s', preg_quote($tag, '/')),
$i,
);
if ($attributes === true) {