Re: git log --encoding=HTML is not supported
- From
Jeff King <peff@peff.net>
- Date
- Aug 27, 2021, 18:33 UTC
- Message-ID
- <YSkv8jTgR8nxZ+QZ@coredump.intra.peff.net>
- In-Reply-To
- <1790169.Z4XVHNUiN4@localhost.localdomain>
On Thu, Aug 26, 2021 at 01:00:44AM +0200, Krzysztof Żelechowski wrote:
Show 8 quoted lines
> 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