Skip to content

Commit

Permalink
Documentation: fix misrender of pretty-formats in Asciidoctor
Browse files Browse the repository at this point in the history
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>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
  • Loading branch information
brian m. carlson authored and Junio C Hamano committed Oct 8, 2014
1 parent 331b51d commit c30c43c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Documentation/pretty-formats.txt
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,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:

Expand Down

0 comments on commit c30c43c

Please sign in to comment.