diff --git a/ext/log_db/main.php b/ext/log_db/main.php index 300e31ac..d09a82cd 100644 --- a/ext/log_db/main.php +++ b/ext/log_db/main.php @@ -170,12 +170,13 @@ class MessageColumn extends Column protected function scan_entities(string $line) { return preg_replace_callback("/Image #(\d+)/s", [$this, "link_image"], $line); + return preg_replace_callback("/>>(\d+)/s", [$this, "link_image"], $line); } protected function link_image($id) { $iid = int_escape($id[1]); - return "Image #$iid"; + return ">>$iid"; } }