Skip to content

Commit 5ae8ea4

Browse files
avivkelleraduh95
authored andcommitted
meta: use HTML entities in commit-queue comment
PR-URL: #53744 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
22+
body="<details><summary>Commit Queue failed</summary><pre>$(sed -e 's/&/\&amp;/g' -e 's/</\&lt;/g' -e 's/>/\&gt;/g' output)</pre><a href='$cqurl'>$cqurl</a></details>"
2323
echo "$body"
2424

2525
gh pr comment "$pr" --body "$body"