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 <avarab@gmail.com> Acked-by: Jakub Narębski <jnareb@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Ævar Arnfjörð Bjarmason committed
Oct 6, 2016 at 09:11 UTC
26547bfb2b8098995b2a67770e96f29fafb11318
1 file changed
+1
-1
gitweb/gitweb.perl
+1
-1
@@ -1616,7 +1616,7 @@ sub esc_path {
1616
return $str;
1617
}
1618
1619
-# Sanitize for use in XHTML + application/xml+xhtm (valid XML 1.0)
1619
+# Sanitize for use in XHTML + application/xml+xhtml (valid XML 1.0)
1620
sub sanitize {
1621
my $str = shift;
1622