r8010 추가

git-svn-id: http://xe-core.googlecode.com/svn/sandbox@8012 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
ngleader 2011-01-03 09:21:59 +00:00
parent 74be8521fc
commit 370fee173b

View file

@ -742,7 +742,7 @@
if($close_tag) $val .= ' /';
// attribute on* remove
if(preg_match('/^on([a-z]+)/',preg_replace('/[^a-zA-Z_]/','',$key))) return '';
if(preg_match('/^on([a-z]+)/i',preg_replace('/[^a-zA-Z_]/','',$key))) return '';
$output = sprintf('%s=%s', $key, $val);