diff options
author | Junio C Hamano <gitster@pobox.com> | 2010-08-23 14:20:25 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2010-08-24 09:48:20 -0700 |
commit | 2839478774f48074d7d87b8a9838827742a5b058 (patch) | |
tree | f883af92b0d36789220ea5e38c128be66edf099b /Documentation/asciidoc.conf | |
parent | 22e5e58a3c75b73764b860907e4d871195f276ac (diff) | |
download | git-2839478774f48074d7d87b8a9838827742a5b058.tar.gz |
Work around em-dash handling in newer AsciiDoc
Older versions of AsciiDoc used to literally pass double dashes when we
used them in our linkgit macros and manpage titles, but newer ones (the
issue was first reported with AsciiDoc 8.5.2) turn them into em dashes.
Define litdd (literal double-dash) custom attribute in asciidoc.conf to
work this around. While we are at it, fix a few double-dashes (e.g. the
description of "project--devo--version" convention used by tla, among
other things) that used to be incorrectly written as em dashes in the body
text to also use this attribute.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/asciidoc.conf')
-rw-r--r-- | Documentation/asciidoc.conf | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Documentation/asciidoc.conf b/Documentation/asciidoc.conf index 87a90f2c3f..3267bae9da 100644 --- a/Documentation/asciidoc.conf +++ b/Documentation/asciidoc.conf @@ -18,6 +18,7 @@ startsb=[ endsb=] tilde=~ backtick=` +litdd=-- ifdef::backend-docbook[] [linkgit-inlinemacro] |