mygit

[UNMAINTAINED] A cgit/webgit alternative, written in Rust
Log | Files | Refs | README | LICENSE

commit a4755529f1c71ade4f32bbf9e65d8d7570c6cd4f
parent c26d20100758152210e0a6e77d765b77f4e413a8
Author: Johann150 <johann@qwertqwefsday.eu>
Date:   Fri,  2 Apr 2021 13:20:23 +0200

remove unnecessary HTML escaping

Diffstat:
Msrc/main.rs | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/main.rs b/src/main.rs @@ -357,7 +357,7 @@ impl RepoCommitTemplate<'_> { } 'B' | _ => unreachable!(), } - pulldown_cmark::escape::escape_html(&mut buf, content).unwrap(); + buf.push_str(content); true } Err(_) => {