diff options
author | Jean-Noël Avila <jn.avila@free.fr> | 2024-07-20 17:34:13 +0000 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2024-07-20 16:24:12 -0700 |
commit | 6474da0aa4d411e12fd4962b3e81c6d4e9db6b12 (patch) | |
tree | 05a783bb6d1a8ae57808297518507030f66f8650 /commit.h | |
parent | ebb55042a4416a07c27ba45eeb24e6ff1899f360 (diff) |
doc: git-clone fix discrepancy between asciidoc and asciidoctor
Asciidoc.py does not have the concept of generalized roles, whereas
asciidoctor interprets [foo]`blah` as blah with role foo in the
synopsis, making in effect foo disappear in the output. Note that
square brackets not directly followed by an inline markup do not
define a role, which is why we do not have the issue on other parts of
the documentation.
In order to get a consistant result across asciidoctor and
asciidoc.py, the hack is to use the {empty} entity
to split the bracket part from the inline format part.
Signed-off-by: Jean-Noël Avila <jn.avila@free.fr>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'commit.h')
0 files changed, 0 insertions, 0 deletions