TemplateHandler의 경로 지정으로 생기는 문제를 Context 클래스에서 수정하도록 변경

git-svn-id: http://xe-core.googlecode.com/svn/sandbox@5378 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
zero 2009-01-16 05:34:46 +00:00
parent 732146cdb7
commit a19dba1c9b

View file

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