summaryrefslogtreecommitdiff
path: root/gitweb
diff options
context:
space:
mode:
authorÆvar Arnfjörð Bjarmason <avarab@gmail.com>2016-10-06 09:11:33 (GMT)
committerJunio C Hamano <gitster@pobox.com>2016-10-14 20:22:31 (GMT)
commit26547bfb2b8098995b2a67770e96f29fafb11318 (patch)
treeca77ee727109de61405213982fc4722c8b45c65f /gitweb
parent6406bdc0b95715a087fdeeb0f6adf3deb80a25b8 (diff)
downloadgit-26547bfb2b8098995b2a67770e96f29fafb11318.zip
git-26547bfb2b8098995b2a67770e96f29fafb11318.tar.gz
git-26547bfb2b8098995b2a67770e96f29fafb11318.tar.bz2
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>
Diffstat (limited to 'gitweb')
-rwxr-xr-xgitweb/gitweb.perl2
1 files changed, 1 insertions, 1 deletions
diff --git a/gitweb/gitweb.perl b/gitweb/gitweb.perl
index 33d701d..9473daf 100755
--- a/gitweb/gitweb.perl
+++ b/gitweb/gitweb.perl
@@ -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;