Subject: Re: [PATCH v2] doc: fix asciidoc format compatibility in pretty-formats.adoc

From: Junio C Hamano <[email-masked]>
Date: Wed, 20 Aug 2025 14:03:08 -0700

Jean-Noël Avila <[email-masked]> writes:

> The change is needed because Asciidoc.py and Asciidoctor
> do not process the '+' verbatim the same way. A span is
> detected when the format sign (here '+')is preceded by a
> non-word character. I haven't digged into the source,
> but it seems that '{nbsp}' is considered a non-word sign
> by Asciidoc.py, but not by Asciidoctor.
>
> Using the double '+' opens 'unconstrained' span,
> independent on the preceding character in both engines.

Thanks for explaining.  

It is especially nice to see "independent on the preceding character
in both engines", meaning that this fixes Asciidoctor while not
breaking Asciidoc ;-)

Now, can you do give the explanation in the proposed commit log
message, so that later people do not have to ask the same question
while reading "git log -p" output?

Thanks.