Re: [PATCH] urls.txt: Use substitution to escape square brackets
Show 23 quoted lines
> Alp is right -- the comments in [attributes] section after the
> definition do appear in the output, even with asciidoc 7.1.2, so
> here is a replacement proposal from me.
>
> The one by Alp is an easy work-around, but I do not want to
> worry about potential, unintended, breakages that might be
> caused by changing delimited blocks to literal paragraphs (and
> it changes the resulting rendering from the original).
>
> -- >8 --
> From: Jonas Fonseca <fonseca@diku.dk>
>
> This changes "[user@]" to use {startsb} and {endsb} to insert [ and ],
> similar to how {caret} is used in git-rev-parse.txt.
>
> [jc: Removed a well-intentioned comment that broke the final
> formatting from the original patch. While we are at it,
> updated the paragraph that claims to be equivalent to the
> section that was updated earlier without making matching
> changes.]
>
> Signed-off-by: Jonas Fonseca <fonseca@diku.dk>
> Signed-off-by: Junio C Hamano <junkio@cox.net>Signed-off-by: Alp Toker <alp@atoker.com>