Skip to content

Commit edf1f5c

Browse files
authored
Merge pull request #1839 from Kobzol/escape-pipe-markdown
Escape pipe symbol in rolled up build PR descriptions
2 parents 149897b + 3cd223a commit edf1f5c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

site/src/github.rs

+2-1
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,8 @@ pub async fn unroll_rollup(
7575
format!("{}…", m.split_at(59).0)
7676
}
7777
})
78-
.unwrap_or_else(|| format!("#{}", c.original_pr_number));
78+
.unwrap_or_else(|| format!("#{}", c.original_pr_number))
79+
.replace('|', "\\|");
7980
writeln!(
8081
&mut string,
8182
"|#{pr}|{message}|{commit}|",

0 commit comments

Comments
 (0)