summaryrefslogtreecommitdiffstats
path: root/gitweb/gitweb.perl
diff options
context:
space:
mode:
authorÆvar Arnfjörð Bjarmason <avarab@gmail.com>2016-10-06 11:11:33 +0200
committerJunio C Hamano <gitster@pobox.com>2016-10-14 22:22:31 +0200
commit26547bfb2b8098995b2a67770e96f29fafb11318 (patch)
treeca77ee727109de61405213982fc4722c8b45c65f /gitweb/gitweb.perl
parentGit 2.10.1 (diff)
downloadgit-26547bfb2b8098995b2a67770e96f29fafb11318.tar.xz
git-26547bfb2b8098995b2a67770e96f29fafb11318.zip
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/gitweb.perl')
-rwxr-xr-xgitweb/gitweb.perl2
1 files changed, 1 insertions, 1 deletions
diff --git a/gitweb/gitweb.perl b/gitweb/gitweb.perl
index 33d701d852..9473daf4cf 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;