mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-21 20:29:57 +09:00
플래닛 링크 치환으로 인한 오류 수정
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@5381 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
a7a5b73d7a
commit
0ac33595db
1 changed files with 1 additions and 1 deletions
|
|
@ -126,7 +126,7 @@
|
|||
$obj->content = str_replace(array('<','>'),array('<','>'),$obj->content);
|
||||
$obj->content = str_replace('...', '…', $obj->content);
|
||||
$obj->content = str_replace('--', '—', $obj->content);
|
||||
$obj->content = preg_replace('/"([^"]+)":([0-9]+)/ig', '<a href="'.Context::getRequestUri().'$2">$1</a>', $obj->content);
|
||||
$obj->content = preg_replace('/"([^"]+)":([0-9]+)/i', '<a href="'.Context::getRequestUri().'$2">$1</a>', $obj->content);
|
||||
$obj->content = preg_replace('/"([^"]+)":(http|ftp|https|mms)([^ ]+)/is','<a href="$2$3" onclick="window.open(this.href);return false;">$1</a>$4', $obj->content);
|
||||
$oDocumentController = &getController('document');
|
||||
$output = $oDocumentController->insertDocument($obj,$manual_inserted);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue