Skip to content

Commit 26547bf

Browse files
avargitster
authored andcommitted
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>
1 parent 6406bdc commit 26547bf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gitweb/gitweb.perl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1616,7 +1616,7 @@ sub esc_path {
16161616
return $str;
16171617
}
16181618

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)
16201620
sub sanitize {
16211621
my $str = shift;
16221622

0 commit comments

Comments
 (0)