mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-28 06:42:14 +09:00
TemplateHandler의 경로 지정으로 생기는 문제를 Context 클래스에서 수정하도록 변경
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@5378 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
732146cdb7
commit
a19dba1c9b
1 changed files with 3 additions and 0 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue