|
|
|
@ -250,8 +250,8 @@
|
|
|
|
|
if(!empty($row['comment'])) {
|
|
|
|
|
$comment = $row['comment'];
|
|
|
|
|
$comment = preg_replace('/^>(?!>\d).+/m', '<strong class="quote">$0</strong>', $comment);
|
|
|
|
|
$comment = preg_replace('/(?:https?|mailto|tel|ftp):[^\s]+/m', '<a href="$0" target="_blank">$0</a>', $comment);
|
|
|
|
|
$comment = preg_replace_callback('/>>\s*(\d+)/', quote_link, $comment);
|
|
|
|
|
$comment = preg_replace('/(?:https?|mailto|tel|ftp):[^\s,]+/m', '<a href="$0" target="_blank">$0</a>', $comment);
|
|
|
|
|
$comment = preg_replace_callback('/>>\s*(\d+)/', 'quote_link', $comment);
|
|
|
|
|
$comment = str_replace("\n", "<br />", $comment);
|
|
|
|
|
echo "<div>$comment</div>";
|
|
|
|
|
}
|
|
|
|
|