gitweb: fix a typo in a comment
authorÆvar Arnfjörð Bjarmason <avarab@gmail.com>
Thu, 6 Oct 2016 09:11:33 +0000 (09:11 +0000)
committerJunio C Hamano <gitster@pobox.com>
Fri, 14 Oct 2016 20:22:31 +0000 (13:22 -0700)
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>
gitweb/gitweb.perl
index 33d701d8525fd9334e4a899a807c8f8f0164dcc5..9473daf4cfb8773303554268c8398c0d775bfb2a 100755 (executable)
@@ -1616,7 +1616,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;