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

This commit is contained in:
zero 2007-03-20 09:29:42 +00:00
parent 47fdc889c3
commit d15a45faa5
3 changed files with 6 additions and 7 deletions

View file

@ -678,7 +678,7 @@
$content = preg_replace_callback('!<(div|img)([^\>]*)editor_component=([^\>]*?)>!is', array($this,'_transEditorComponent'), $content);
// <br> 코드 변환
$content = preg_replace('/<br([^>]*)>/i','<br$1/>', $content);
$content = preg_replace('/<br([^>\/]*)(\/>|>)/i','<br$1 />', $content);
// <img ...> 코드를 <img ... /> 코드로 변환
$content = preg_replace('/<img([^>^\/]*)(\/>|>)/i','<img$1 />', $content);