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>
This commit is contained in:
parent
6406bdc0b9
commit
26547bfb2b
@ -1616,7 +1616,7 @@ sub esc_path {
|
|||||||
return $str;
|
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 {
|
sub sanitize {
|
||||||
my $str = shift;
|
my $str = shift;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user