From 2839478774f48074d7d87b8a9838827742a5b058 Mon Sep 17 00:00:00 2001 From: Junio C Hamano Date: Mon, 23 Aug 2010 14:20:25 -0700 Subject: 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 --- Documentation/asciidoc.conf | 1 + 1 file changed, 1 insertion(+) (limited to 'Documentation/asciidoc.conf') 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] -- cgit v1.2.1