mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-18 10:49:54 +09:00
플래닛. 일부 미투문법 적용
* ... -> … * -- -> — git-svn-id: http://xe-core.googlecode.com/svn/sandbox@4917 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
1644d6b2b0
commit
9e8aa916b2
2 changed files with 4 additions and 0 deletions
|
|
@ -124,6 +124,8 @@
|
|||
function insertContent($obj,$manual_inserted=false){
|
||||
|
||||
$obj->content = str_replace(array('<','>'),array('<','>'),$obj->content);
|
||||
$obj->content = str_replace('...', '…', $obj->content);
|
||||
$obj->content = str_replace('--', '—', $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