From 47b972b63cc667c8c3c7d8472a0076cd308283cf Mon Sep 17 00:00:00 2001
From: Yassine Doghri <yassine@doghri.fr>
Date: Tue, 22 Mar 2022 11:01:18 +0000
Subject: [PATCH] chore: escape podcasting platform slug when getting icon

---
 themes/cp_app/podcast/_partials/sidebar.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/themes/cp_app/podcast/_partials/sidebar.php b/themes/cp_app/podcast/_partials/sidebar.php
index a72baa2cb1..81ac1e4546 100644
--- a/themes/cp_app/podcast/_partials/sidebar.php
+++ b/themes/cp_app/podcast/_partials/sidebar.php
@@ -43,7 +43,7 @@
                     <?= anchor(
             esc($podcastingPlatform->link_url),
             icon(
-                $podcastingPlatform->slug,
+                esc($podcastingPlatform->slug),
                 '',
                 $podcastingPlatform->type
             ),
-- 
GitLab