From 4678db81fea83218b38231cf0d35af83b1709cce Mon Sep 17 00:00:00 2001 From: omkhegde <69654230+omkhegde@users.noreply.github.com> Date: Fri, 24 Jan 2025 09:37:12 -0500 Subject: [PATCH] chore: Replace quotes when sanitizing title (#717) - Before sending notification to Slack, replace any quotes that exist in Github entity title --- .github/workflows/notifications.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/notifications.yml b/.github/workflows/notifications.yml index 447d969a..d2d7727b 100644 --- a/.github/workflows/notifications.yml +++ b/.github/workflows/notifications.yml @@ -39,6 +39,7 @@ jobs: // Escape special characters for Slack const escapeForSlack = (text) => { return text + .replace(/"/g, '"') .replace(/&/g, '&') .replace(/