Skip to content

Commit 1f17cfa

Browse files
fix: telegram notify bot
1 parent 0a5c7c5 commit 1f17cfa

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/github-notifications-bot.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
run: |
2020
# CORRECT HTML ESCAPE FUNCTION — THIS WAS BROKEN BEFORE
2121
html_escape() {
22-
echo "$1" | sed 's/&/\&amp;/g; s/</\</g; s/>/\>/g; s/"/\&quot;/g; s/'"'"'/\&#39;/g'
22+
echo "$1" | sed 's/&/\&amp;/g; s/</\&lt;/g; s/>/\&gt;/g; s/"/\&quot;/g; s/'"'"'/\&#39;/g'
2323
}
2424
2525
LOG_BUFFER=""
@@ -147,4 +147,4 @@ jobs:
147147
exit 1
148148
else
149149
echo "✅ All notifications sent."
150-
fi
150+
fi

0 commit comments

Comments
 (0)