#19287514 신규 template 문법에서 loop문의 중첩태그를 제대로 표현하지 못하는 문제 수정

git-svn-id: http://xe-core.googlecode.com/svn/sandbox@7932 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
zero 2010-11-29 04:33:07 +00:00
parent 2205ff7ef5
commit 44f179d49f

View file

@ -318,7 +318,7 @@
$tmp_buff = substr($next, 0, $close_pos+strlen('</'.$tag_name.'>'));
$tag .= $tmp_buff;
$next = substr($next, strlen($tmp_buff));
if(false === strpos($tmp_buff, '<'.$tag_name)) break;
if(substr_count($tag, '<'.$tag_name) == substr_count($tag,'</'.$tag_name)) break;
}
}