mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-22 04:39:55 +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
|
|
@ -543,6 +543,8 @@
|
|||
if($output->data) {
|
||||
foreach($output->data as $key => $val) {
|
||||
$output->data[$key]->content = preg_replace('/"([^"]*)":(http|ftp|https|mms)([^ ]+)/is','<a href="$2$3" onclick="window.open(this.href);return false;">$1</a>$4', $val->content);
|
||||
$output->data[$key]->content = str_replace('...', '…', $output->data[$key]->content);
|
||||
$output->data[$key]->content = str_replace('--', '—', $output->data[$key]->content);
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue