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

[PATCH] Documentation: fix misrender of pretty-formats in Asciidoctor

From
brian m. carlson <sandals@crustytoothpaste.net>
Date
Oct 8, 2014, 20:46 UTC
Message-ID
<1412801170-60741-1-git-send-email-sandals@crustytoothpaste.net>
In-Reply-To
<CAMsgyKadiE-HOH_oLK=Fc0UQXnEuUTMHmz3=9zRiMvU0fr4KvA@mail.gmail.com>

Neither the AsciiDoc nor the Asciidoctor documentation specify whether the same number of delimiter characters must be used to end a block as to begin it, although both sets of documentation show exactly matching pairs. AsciiDoc allows mismatches, but AsciiDoctor apparently does not. Adjust the pretty formats documentation to use matching pairs to prevent a misrendering where the remainder of the document was rendered as a listing block.

Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net>
---
 Documentation/pretty-formats.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Documentation/pretty-formats.txt b/Documentation/pretty-formats.txt
index eecc39d..dcf7429 100644
--- a/Documentation/pretty-formats.txt
+++ b/Documentation/pretty-formats.txt
@@ -95,7 +95,7 @@ would show something like this:
 The author of fe6e0ee was Junio C Hamano, 23 hours ago
 The title was >>t4119: test autocomputing -p<n> for traditional diff input.<<
 
---------
+-------
 +
 The placeholders are:
 
-- 
2.1.1
Previous: Derek MooreNext: Junio C Hamano
Message 2 of 6 in “git-log man2html conversion broken: http://git-scm.com/docs/git-log”
  1. Derek MooreOct 8, 2014
  2. Documentation: fix misrender of pretty-formats in Asciidoctorbrian m. carlson, Oct 8, 2014
  3. Junio C HamanoOct 8, 2014
  4. Jeff KingOct 9, 2014
  5. brian m. carlsonOct 9, 2014
  6. Jeff KingOct 9, 2014

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.