git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH] Documentation: fix header markup

From
Xue Fuqiao <xfq.free@gmail.com>
Date
Oct 22, 2015, 12:59 UTC
Message-ID
<1445518740-18221-1-git-send-email-xfq.free@gmail.com>

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>
---
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
-- 
2.6.2
Next: Junio C Hamano
Message 1 of 3 in “Documentation: fix header markup”
  1. Documentation: fix header markupXue Fuqiao, Oct 22, 2015
  2. Junio C HamanoOct 22, 2015
  3. Match underline with the textJunio C Hamano, Oct 22, 2015

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.