Re: [PATCH] doc: fix unmatched code fences
- From
Junio C Hamano <gitster@pobox.com>
- Date
- May 13, 2015, 03:43 UTC
- Message-ID
- <xmqqk2wdcfbb.fsf@gitster.dls.corp.google.com>
- In-Reply-To
- <20150513021556.GA4160@peff.net>
Jeff King <peff@peff.net> writes:
Show 14 quoted lines
> With this patch and the one from Jean-Noel, the script above finds only > one hit, which is a false positive. It's at git-commit.txt:233, and it > looks like: > > It is a rough equivalent for: > ------ > $ git reset --soft HEAD^ > $ ... do something else to come up with the right tree ... > $ git commit -c ORIG_HEAD > > ------ > > I have no idea how asciidoc knows that this is a code block and not a > title called "It is a rough...".
It obviously is not a title underline as the lengths are vastly different. It would be an interesing exercise to make both of them longer, but I suspect giving an extra blank line there may not hurt.
Thanks, will queue.