Re: [PATCH] Documentation: fix header markup
Xue Fuqiao <xfq.free@gmail.com> writes:
Show 7 quoted lines
> Asciidoctor is stricter than AsciiDoc when deciding if underlining
> is a section title or the start of preformatted text. Make the
> length of the underlining match the text to ensure that it renders
> correctly in all implementations.
>
> Signed-off-by: Xue Fuqiao <xfq.free@gmail.com>
> ---
Looks obviously correct. Will queue.
Thanks.
Show 21 quoted lines
> Currently, "Fixing a mistake by rewriting history" is surrounded by a
> pair of <p> tags instead of a pair of <h3> tags in
> https://git-scm.com/docs/user-manual.html. This patch will (hopefully)
> fix that.
>
> Documentation/user-manual.txt | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/Documentation/user-manual.txt b/Documentation/user-manual.txt
> index 1b7987e..764a270 100644
> --- a/Documentation/user-manual.txt
> +++ b/Documentation/user-manual.txt
> @@ -1491,7 +1491,7 @@ resolving a merge>>.
>
> [[fixing-a-mistake-by-rewriting-history]]
> Fixing a mistake by rewriting history
> -~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>
> If the problematic commit is the most recent commit, and you have not
> yet made that commit public, then you may just