Re: [PATCH v2 1/3] gitweb: Fix a typo in a comment
- From
Jakub Narębski <jnareb@gmail.com>
- Date
- Oct 14, 2016, 17:34 UTC
- Message-ID
- <51eb6aba-9cd2-47f4-a26e-6dbbabdaa282@gmail.com>
- In-Reply-To
- <20161006091135.29590-2-avarab@gmail.com>
W dniu 06.10.2016 o 11:11, Ævar Arnfjörð Bjarmason napisał:
Show 7 quoted lines
> 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>Good. Thanks for taking care of this. For what is worth for such a trivial patch:
Acked-by: Jakub Narębski <jnareb@gmail.com>
Show 18 quoted lines
> ---
> gitweb/gitweb.perl | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/gitweb/gitweb.perl b/gitweb/gitweb.perl
> index 44094f4..cba7405 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;
>
>