Fix git commit popup message bracket (#16279)

This commit is contained in:
dovakin0007 authored and GitHub committed 2024-08-27 15:18:48 -04:00
1 parent bde346a6d7
commit b7ee2a4b07
1 file changed
+1 -1
+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>>())
}