잘못된 정규 표현식 수정

git-svn-id: http://xe-core.googlecode.com/svn/sandbox@5379 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
zero 2009-01-16 05:57:29 +00:00
parent a19dba1c9b
commit 098d763755

View file

@ -1204,7 +1204,7 @@
$content = preg_replace('/<(img|br)([^>\/]*)(\/>|>)/i','<$1$2 />', $content);
// templateHandler의 이미지 경로로 인하여 생기는 절대경로 이미지등의 경로 중복 처리
$content = preg_replace('/http:\/\/([^ ]+)http:\/\//is','http://', $content);
$content = preg_replace('/src=(["|\']?)http:\/\/([^ ]+)http:\/\//is','src=$1http://', $content);
return $content;
}