From c352e1538c50826c8708db4f639b00f1c4f503bb Mon Sep 17 00:00:00 2001 From: Micha Ober Date: Fri, 3 Nov 2023 02:32:09 +0100 Subject: [PATCH] Remove commented-out code --- event/notification_event_listener.php | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/event/notification_event_listener.php b/event/notification_event_listener.php index 72b5697..4525e76 100644 --- a/event/notification_event_listener.php +++ b/event/notification_event_listener.php @@ -1008,13 +1008,8 @@ private function reformat_link_url($url) */ private function reformat_link_text($text) { - // It seems that escaping markdown links is no longer necessary: + // Escaping markdown links is no longer necessary: // https://github.com/discord/discord-api-docs/issues/6138 - - //$text = strtr($text, [ - // '[' => '\\[', - // ']' => '\\]' - //]); return html_entity_decode($text, ENT_COMPAT); }