mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-07 02:31:40 +09:00
장문의 글이 수정되지 않던 문제 수정
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@5964 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
fbb92e4b52
commit
659b42d81f
1 changed files with 4 additions and 2 deletions
|
|
@ -1362,10 +1362,12 @@
|
|||
$content = preg_replace_callback('!<style(.*?)<\/style>!is', array($this,'moveStyleToHeader'), $content);
|
||||
|
||||
// <img|br> 코드 변환
|
||||
$content = preg_replace('/<(img|br)([^>]*)(\/>|>)/i','<$1$2 />', $content);
|
||||
//$content = preg_replace('/<(img|br)([^>]*)(\/>|>)/i','<$1$2 />', $content);
|
||||
$content = preg_replace('/<(img|br)([^>\/]*)(\/>|>)/i','<$1$2 />', $content);
|
||||
|
||||
// templateHandler의 이미지 경로로 인하여 생기는 절대경로 이미지등의 경로 중복 처리
|
||||
$content = preg_replace('/<(img|input)([^>]*)src=(["|\']?)http:\/\/([^ ]+)http:\/\//is','<$1$2src=$3http://', $content);
|
||||
//$content = preg_replace('/<(img|input)([^>]*)src=(["|\']?)http:\/\/([^ ]+)http:\/\//is','<$1$2src=$3http://', $content);
|
||||
$content = preg_replace('/src=(["|\']?)http:\/\/([^ ]+)http:\/\//is','src=$1http://', $content);
|
||||
|
||||
return $content;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue