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