git-svn-id: http://xe-core.googlecode.com/svn/trunk@1533 201d5d3c-b55e-5fd7-737f-ddc643e51545

This commit is contained in:
zero 2007-06-01 07:45:18 +00:00
parent b25be23fa2
commit be5be8b8ad
4 changed files with 7 additions and 4 deletions

View file

@ -771,7 +771,10 @@
$content = preg_replace('/<br([^>\/]*)(\/>|>)/i','<br$1 />', $content);
// <img ...> 코드를 <img ... /> 코드로 변환
$content = preg_replace('/<img([^>^\/]*)(\/>|>)/i','<img$1 />', $content);
$content = preg_replace('/<img(.*?)(\/){0,1}>/i','<img$1 />', $content);
// blogapi tool에서 삽입된 코드 삭제
//$content = str_replace('atomicselection="true"','',$content);
return $content;
}