Skip to content

Commit 3cd223a

Browse files
committed
Escape pipe symbol in rolled up build PR descriptions
1 parent 149897b commit 3cd223a

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)