Hi Lionel

The issue arises because the AsciiDoc is backend agnostic, it has no knowledge of the syntax or semantics of the backend format that it generates (this is by design). It treats URLs just like any other macro call, so if they include double-underscore quotes (constrained emphasis) they will be substituted unless they have been escaped.

You could disabled them altogether if double-underscore quotes in URLs is something that you use a lot e.g. with:

:quotes.__:

See http://www.methods.co.nz/asciidoc/faq.html#_how_can_i_selectively_disable_a_quoted_text_substitution

It's same issue with spaces in URLs 
(http://www.methods.co.nz/asciidoc/faq.html#X1).

See also:

http://www.methods.co.nz/asciidoc/faq.html#_asciidoc_sometimes_generates_invalid_output_markup_why

http://www.methods.co.nz/asciidoc/faq.html#_how_can_i_escape_asciidoc_markup

http://www.methods.co.nz/asciidoc/faq.html#_some_elements_can_8217_t_be_escaped_with_a_single_backslash


Cheers, Stuart



On 10/02/11 21:21, Lionel wrote:
Hi Stuart,

now that you came back to asciidoc, could you have a quick look at this thread
and tell us your opinion please?

Thanks a lot,
Lionel

--
You received this message because you are subscribed to the Google Groups
"asciidoc" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/asciidoc?hl=en.

--
You received this message because you are subscribed to the Google Groups 
"asciidoc" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/asciidoc?hl=en.

Reply via email to