Login  Register

Re: Suppress mailto automatic linking

Posted by mojavelinux on Oct 07, 2018; 11:51pm
URL: https://discuss.asciidoctor.org/Suppress-mailto-automatic-linking-tp6483p6502.html

Ah, in that case what you are looking for is literal monospace.

`+literal monospace+`.

The backticks alone only make the text monospace. They do not escape it.


Cheers,

-Dan

On Sun, Oct 7, 2018 at 4:57 PM metro [via Asciidoctor :: Discussion] <[hidden email]> wrote:
I misspoke: the problem occurs when encapsulating the git command with monospace. The literal block does indeed behave correctly.

See below for example. Both docbook5 and html output convert [hidden email] to an email address.

MT
--

= Git URL Test
First Last <[hidden email]>

This document tests the rendering of git url's.

Git clone command with just server name shows up *correctly* as `git clone user@server:repo`.

Git clone command with domain shows up *incorrectly* with email address as `git clone [hidden email]:repo`.

Literal block does behave correctly with domain:

....
git clone [hidden email]:repo
....




If you reply to this email, your message will be added to the discussion below:
http://discuss.asciidoctor.org/Suppress-mailto-automatic-linking-tp6483p6501.html
To start a new topic under Asciidoctor :: Discussion, email [hidden email]
To unsubscribe from Asciidoctor :: Discussion, click here.
NAML


--
Dan Allen | @mojavelinux | https://twitter.com/mojavelinux