diff --git a/modules/comment/comment.model.php b/modules/comment/comment.model.php
index b8da4d706..39bf53deb 100644
--- a/modules/comment/comment.model.php
+++ b/modules/comment/comment.model.php
@@ -125,7 +125,13 @@
$comment_srl = $source_list[$i]->comment_srl;
$parent_srl = $source_list[$i]->parent_srl;
$member_srl = $source_list[$i]->member_srl;
+
+ // OL/LI 태그를 위한 치환 처리
$source_list[$i]->content = preg_replace('!<(ol|ul|blockquote)>!is','<\\1 style="margin-left:40px;">',$source_list[$i]->content);
+
+ // url에 대해서 정규표현식으로 치환
+ $source_list[$i]->content = preg_replace('!([^>^"^\'^=])(http|https|ftp|mms):\/\/([^ ^<^"^\']*)!is','$1$2://$3',' '.$source_list[$i]->content);
+
if(!$comment_srl) continue;
if($is_admin || $this->isGranted($comment_srl) || $member_srl == $logged_info->member_srl) $source_list[$i]->is_granted = true;
diff --git a/modules/document/document.item.php b/modules/document/document.item.php
index cdd4e8637..39c263238 100644
--- a/modules/document/document.item.php
+++ b/modules/document/document.item.php
@@ -186,6 +186,9 @@
// OL/LI 태그를 위한 치환 처리
$content = preg_replace('!<(ol|ul|blockquote)>!is','<\\1 style="margin-left:40px;">',$content);
+
+ // url에 대해서 정규표현식으로 치환
+ $content = preg_replace('!([^>^"^\'^=])(http|https|ftp|mms):\/\/([^ ^<^"^\']*)!is','$1$2://$3',' '.$content);
if($add_document_info) return sprintf('%s', $this->document_srl, $this->get('member_srl'), $content, $this->document_srl, $this->get('member_srl'));