Fix git commit popup message bracket (#16279)

This commit is contained in:
dovakin0007
2024-08-27 15:18:48 -04:00
committed by GitHub
parent 98e09f22c2
commit f633b125b9
+1 -1
View File
@@ -43,7 +43,7 @@ pub fn get_messages(working_directory: &Path, shas: &[Oid]) -> Result<HashMap<Oi
String::from_utf8_lossy(&output.stdout)
.trim()
.split_terminator(MARKER)
.map(|str| String::from(str.trim())),
.map(|str| str.trim().replace("<", "&lt;").replace(">", "&gt;")),
)
.collect::<HashMap<Oid, String>>())
}