This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Asciidoc 8.2.3+ breaks git manpages
- From: Alexey Borzenkov <snaury at gmail dot com>
- To: cygwin at cygwin dot com
- Date: Tue, 25 Dec 2007 12:20:55 +0000 (UTC)
- Subject: Asciidoc 8.2.3+ breaks git manpages
Hi everyone,
I wonder if nobody noticed this yet, but since Asciidoc 8.2.3 git manpages are
broken in regard that gitlink macro is not handled correctly, and what you see
when issuing git --help is a lot of [1], [2], [3], etc that are completely
unreadable. I found this offending line in asciidoc.conf:
# Explicit so they can be nested.
(?su)[\\]?(?P<name>(http|....|link)):(?P<target>\S*?)(\[(?P<attrlist>.*?)\])=
If you add \b in front on (http|....|link) the macro then behaves correctly
(because it will match only when link is not preceded with other letters). This
is upstream bug and I wonder who is at fault here (git or asciidoc?).
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/