mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-17 10:19:55 +09:00
git-svn-id: http://xe-core.googlecode.com/svn/trunk@1617 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
7bfede882c
commit
350f9c0b48
1 changed files with 3 additions and 0 deletions
|
|
@ -780,6 +780,9 @@
|
|||
// <br> 코드 변환
|
||||
$content = preg_replace('/<br([^>\/]*)(\/>|>)/i','<br$1 />', $content);
|
||||
|
||||
// <P> => <p> 코드 변환
|
||||
$content = preg_replace('/<(\/){0,1}P([^>]*)>/','<$1p$2>', $content);
|
||||
|
||||
// <img ...> 코드를 <img ... /> 코드로 변환
|
||||
$content = preg_replace('/<img(.*?)(\/){0,1}>/i','<img$1 />', $content);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue