Asciidoc 8.2.3+ breaks git manpages
Alexey Borzenkov
snaury@gmail.com
Tue Dec 25 20:55:00 GMT 2007
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/
More information about the Cygwin
mailing list