Skip to content

Commit e15b799

Browse files
thiagowfxclaude
andcommitted
pr_dash: fix broken Slack links in --slack output
The <url|text> mrkdwn link syntax gets mangled by Slack's rich text editor, encoding the pipe as %7C and breaking the URL. Use bare URLs instead, which Slack auto-links reliably. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent eb941ea commit e15b799

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

pr_dash/pr_dash.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -601,7 +601,7 @@ render_slack() {
601601
(if $rv_e != "" then " " + $rv_e else "" end) +
602602
" " +
603603
(if .isDraft then "[draft] " else "" end) +
604-
"<\(.url)|#\(.number) \(.title)>" +
604+
"\(.url) \(.title)" +
605605
" \u00b7 " + (.createdAt | age) +
606606
(if .reviewers and (.reviewers | length) > 0 then " \u00b7 " + (.reviewers | join(", ")) else "" end)
607607
),

0 commit comments

Comments
 (0)