From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: AS53758 23.128.96.0/24 X-Spam-Status: No, score=-3.9 required=3.0 tests=AWL,BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED, SPF_HELO_PASS,SPF_PASS shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by dcvr.yhbt.net (Postfix) with ESMTP id 9FEFB1F8C6 for ; Fri, 27 Aug 2021 18:34:10 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229958AbhH0SeR (ORCPT ); Fri, 27 Aug 2021 14:34:17 -0400 Received: from cloud.peff.net ([104.130.231.41]:60832 "EHLO cloud.peff.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229909AbhH0SeN (ORCPT ); Fri, 27 Aug 2021 14:34:13 -0400 Received: (qmail 9102 invoked by uid 109); 27 Aug 2021 18:33:23 -0000 Received: from Unknown (HELO peff.net) (10.0.1.2) by cloud.peff.net (qpsmtpd/0.94) with ESMTP; Fri, 27 Aug 2021 18:33:23 +0000 Authentication-Results: cloud.peff.net; auth=none Received: (qmail 15521 invoked by uid 111); 27 Aug 2021 18:33:22 -0000 Received: from coredump.intra.peff.net (HELO sigill.intra.peff.net) (10.0.0.2) by peff.net (qpsmtpd/0.94) with (TLS_AES_256_GCM_SHA384 encrypted) ESMTPS; Fri, 27 Aug 2021 14:33:22 -0400 Authentication-Results: peff.net; auth=none Date: Fri, 27 Aug 2021 14:33:22 -0400 From: Jeff King To: Krzysztof =?utf-8?Q?=C5=BBelechowski?= Cc: git@vger.kernel.org Subject: Re: git log --encoding=HTML is not supported Message-ID: References: <9896630.2IqcCWsCYL@localhost.localdomain> <1790169.Z4XVHNUiN4@localhost.localdomain> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <1790169.Z4XVHNUiN4@localhost.localdomain> Precedence: bulk List-ID: X-Mailing-List: git@vger.kernel.org On Thu, Aug 26, 2021 at 01:00:44AM +0200, Krzysztof Żelechowski wrote: > Dnia środa, 25 sierpnia 2021 02:57:47 CEST Jeff King pisze: > > As far as what you're trying to accomplish, HTML-escaping isn't > > something Git supports. You'll have to run the output through an > > external escaping mechanism. > > Have you looked at the format? It is a HTML fragment with placeholders to be > filled by git log. I cannot run the output through an external escaping > mechanism because it will kill the markup that is already there. Right, what I mean is that you'd have to pull the output out of Git, and then format (and escape) it separately. -Peff