Skip to content

Commit

Permalink
Remove commented-out code
Browse files Browse the repository at this point in the history
  • Loading branch information
m-ober committed Nov 3, 2023
1 parent a07e732 commit c352e15
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions event/notification_event_listener.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

Expand Down

0 comments on commit c352e15

Please sign in to comment.