mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-19 10:23:16 +09:00
본문내 자동링크 부분 수정
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@3446 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
3148047908
commit
335629588f
1 changed files with 1 additions and 1 deletions
|
|
@ -219,7 +219,7 @@
|
|||
$content = $this->get('content');
|
||||
|
||||
// url에 대해서 정규표현식으로 치환
|
||||
$content = preg_replace('!([^>^"^\'^=]?)(http|https|ftp|mms):\/\/([^ ^<^"^\']*)!is','$1<a href="$2://$3" onclick="window.open(this.href);return false;">$2://$3</a>',' '.$content);
|
||||
$content = preg_replace('!([^>^"^\'^=])(http|https|ftp|mms):\/\/([^ ^<^"^\']*)!is','$1<a href="$2://$3" onclick="window.open(this.href);return false;">$2://$3</a>',' '.$content);
|
||||
|
||||
// 추가 정보 출력을 하지 않는 경우
|
||||
if(!$add_document_info) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue