From 3cd223ad19ca03912070684724728e676dff9164 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20Ber=C3=A1nek?= Date: Thu, 7 Mar 2024 23:34:43 +0100 Subject: [PATCH] Escape pipe symbol in rolled up build PR descriptions --- site/src/github.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/site/src/github.rs b/site/src/github.rs index 85f74c92f..4b7562c14 100644 --- a/site/src/github.rs +++ b/site/src/github.rs @@ -75,7 +75,8 @@ pub async fn unroll_rollup( format!("{}…", m.split_at(59).0) } }) - .unwrap_or_else(|| format!("#{}", c.original_pr_number)); + .unwrap_or_else(|| format!("#{}", c.original_pr_number)) + .replace('|', "\\|"); writeln!( &mut string, "|#{pr}|{message}|{commit}|",