From: Johan Herland <johan@herland.net>
To: Thomas Rast <trast@student.ethz.ch>
Cc: Junio C Hamano <gitster@pobox.com>, git@vger.kernel.org
Subject: Re: [PATCH] Documentation/git-filter-branch.txt: Remove unnecessary URL quoting
Date: Mon, 23 Mar 2009 00:20:10 +0100 [thread overview]
Message-ID: <200903230020.10128.johan@herland.net> (raw)
In-Reply-To: <200903201619.56600.trast@student.ethz.ch>
On Friday 20 March 2009, Thomas Rast wrote:
> Johan Herland wrote:
> > Embedding the URL in '+++' causes AsciiDoc (v8.4.1) to generate invalid
> > XML. None of the other URLs in Git's documentation are quoted in this
> > manner. There's no reason to treat this URL differently.
>
> [...]
>
> > -* Clone it with `git clone +++file:///path/to/repo+++`. The clone
> > +* Clone it with `git clone file:///path/to/repo`. The clone
>
> I deliberately wrote it that way because *not* quoting it, at least on
> my box, formats the entire paragraph in monospace. Apparently it
> treats the ` as part of an autodetected URL or some such. This is
> independent of my choice of ASCIIDOC8 or DOCBOOK_XSL_172 settings. Am
> I missing another flag that avoids this problem?
No, I think this is due to version differences in AsciiDoc.
> I have these packages installed from opensuse:
> asciidoc-8.2.7-29.10
I use AsciiDoc v8.4.1 (from Arch Linux), and according to
http://www.methods.co.nz/asciidoc/CHANGELOG.html there are some regression
issues regarding backtick quoting and "inline literal passthrough"s when
upgrading to v8.4.1. According to the changelog I should be able to revert
AsciiDoc to the old behaviour by putting
[attributes]
no-inline-literal=
in my Documentation/asciidoc.conf. However, with this in place, I _still_
get invalid XML generated for git-filter-branch.txt... :(
So, it seems to be an AsciiDoc versioning issue. I'm not sure which of these
AsciiDoc versions are preferable, of if it is possible to format the text in
such a manner that it'll work in both versions.
...Johan
--
Johan Herland, <johan@herland.net>
www.herland.net
prev parent reply other threads:[~2009-03-22 23:21 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-03-19 23:12 [PATCH] Documentation/git-filter-branch.txt: Remove unnecessary URL quoting Johan Herland
2009-03-20 15:19 ` Thomas Rast
2009-03-22 23:20 ` Johan Herland [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200903230020.10128.johan@herland.net \
--to=johan@herland.net \
--cc=git@vger.kernel.org \
--cc=gitster@pobox.com \
--cc=trast@student.ethz.ch \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).