Pk11 3 years ago committed by GitHub
parent cb1cf576b5
commit 189f55eae9

@ -137,7 +137,8 @@
}
$comment = $row['comment'];
$comment = preg_replace('/^>[^>].*/m', "<strong>$0</strong>", $comment);
$comment = preg_replace('/^>[^>].*/m', '<strong>$0</strong>', $comment);
$comment = preg_replace('/https?:\/\/[^\s]+/m', '<a href="$0">$0</a>', $comment);
$comment = preg_replace_callback('/>>\s*(\d+)/', quote_link, $comment);
$comment = str_replace("\n", "<br />", $comment);
echo "<p>$comment</p>";

Loading…
Cancel
Save