diff --git a/bbs.php b/bbs.php
index 8734fca..e724ffd 100644
--- a/bbs.php
+++ b/bbs.php
@@ -137,7 +137,8 @@
}
$comment = $row['comment'];
- $comment = preg_replace('/^>[^>].*/m', "$0", $comment);
+ $comment = preg_replace('/^>[^>].*/m', '$0', $comment);
+ $comment = preg_replace('/https?:\/\/[^\s]+/m', '$0', $comment);
$comment = preg_replace_callback('/>>\s*(\d+)/', quote_link, $comment);
$comment = str_replace("\n", "
", $comment);
echo "
$comment
";