From: Ævar Arnfjörð Bjarmason Date: Thu, 6 Oct 2016 09:11:33 +0000 (+0000) Subject: gitweb: fix a typo in a comment X-Git-Url: https://git.ladys.computer/Gitweb/commitdiff_plain/4830c61dad195176acb9f21ea6846cefbd75091a17d7d12d747f43551b07448f?ds=inline;hp=85b5c0af1f4f6fd30abf32a95a8afc615fd359a3ae5ebf066deea4b36b8e761b gitweb: fix a typo in a comment Change a typo'd MIME type in a comment. The Content-Type is application/xhtml+xml, not application/xhtm+xml. Fixes up code originally added in 53c4031 ("gitweb: Strip non-printable characters from syntax highlighter output", 2011-09-16). Signed-off-by: Ævar Arnfjörð Bjarmason Acked-by: Jakub Narębski Signed-off-by: Junio C Hamano --- diff --git a/gitweb.perl b/gitweb.perl index ec4547b..61ee84c 100755 --- a/gitweb.perl +++ b/gitweb.perl @@ -1617,7 +1617,7 @@ sub esc_path { return $str; } -# Sanitize for use in XHTML + application/xml+xhtm (valid XML 1.0) +# Sanitize for use in XHTML + application/xml+xhtml (valid XML 1.0) sub sanitize { my $str = shift;