help: markup email addresses as inline literals
authorMartin Geisler <mg@lazybytes.net>
Mon, 02 Nov 2009 21:47:03 +0100
changeset 9704 90e968899c72
parent 9703 8374f26727de
child 9705 563a9c3a7d2e
help: markup email addresses as inline literals Otherwise we get useless links to user@example.org in the HTML version of the man pages.
help/environment.txt
help/templates.txt
--- a/help/environment.txt	Mon Nov 02 21:38:42 2009 +0100
+++ b/help/environment.txt	Mon Nov 02 21:47:03 2009 +0100
@@ -50,7 +50,7 @@
     - hgrc files from the HGRCPATH
     - EMAIL
     - interactive prompt
-    - LOGNAME (with '@hostname' appended)
+    - LOGNAME (with ``@hostname`` appended)
 
     (deprecated, use .hgrc)
 
--- a/help/templates.txt	Mon Nov 02 21:38:42 2009 +0100
+++ b/help/templates.txt	Mon Nov 02 21:47:03 2009 +0100
@@ -75,11 +75,11 @@
               the timezone: "Mon Sep 04 15:13:13 2006 0700".
 :domain:      Any text. Finds the first string that looks like an
               email address, and extracts just the domain
-              component. Example: 'User <user@example.com>' becomes
-              'example.com'.
+              component. Example: ``User <user@example.com>`` becomes
+              ``example.com``.
 :email:       Any text. Extracts the first string that looks like
-              an email address. Example: 'User <user@example.com>'
-              becomes 'user@example.com'.
+              an email address. Example: ``User <user@example.com>``
+              becomes ``user@example.com``.
 :escape:      Any text. Replaces the special XML/XHTML characters
               "&", "<" and ">" with XML entities.
 :fill68:      Any text. Wraps the text to fit in 68 columns.