mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-14 00:39:57 +09:00
git-svn-id: http://xe-core.googlecode.com/svn/trunk@575 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
47fdc889c3
commit
d15a45faa5
3 changed files with 6 additions and 7 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue