aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2016-01-11 10:48:50 -0800
committerJohn MacFarlane <jgm@berkeley.edu>2016-01-11 10:48:50 -0800
commite34efc695057f8af102ff59eefac81efdb50382a (patch)
tree3e838abc89ce7b1a0fb6fd85ecadd42ecba243d3
parent2413d436ed98866e9a70fbd4070a5da52dd97cd5 (diff)
Added an example illustrating basic escaping of `(` inside link dest.
-rw-r--r--spec.txt8
1 files changed, 7 insertions, 1 deletions
diff --git a/spec.txt b/spec.txt
index 690d975..d0575f4 100644
--- a/spec.txt
+++ b/spec.txt
@@ -7120,6 +7120,13 @@ bar>)
bar>)</p>
````````````````````````````````
+Parentheses inside the link destination may be escaped:
+
+```````````````````````````````` example
+[link](\(foo\))
+.
+<p><a href="(foo)">link</a></p>
+````````````````````````````````
One level of balanced parentheses is allowed without escaping:
@@ -7129,7 +7136,6 @@ One level of balanced parentheses is allowed without escaping:
<p><a href="(foo)and(bar)">link</a></p>
````````````````````````````````
-
However, if you have parentheses within parentheses, you need to escape
or use the `<...>` form:
right'>0
-rw-r--r--tags/fc/f4/20210714195154.GA3286486@robh.at.kernel.org/unread0
-rw-r--r--tags/fc/f4/20D792DD-CE2E-4B97-AB84-9CC46ACAA42A@kaospilot.dk/hb0
-rw-r--r--tags/fc/f4/20D792DD-CE2E-4B97-AB84-9CC46ACAA42A@kaospilot.dk/unread0
-rw-r--r--tags/fc/f4/40D834AF.2070304@brasetvik.com/skolelinux0
-rw-r--r--tags/fc/f4/4b2a2c20d30d1e57fefaf682cb9cefe5@localhost.localdomain/unread0
-rw-r--r--tags/fc/f4/871tt9pjjy.fsf@zoro.exoscale.ch/debian0
-rw-r--r--tags/fc/f4/871tt9pjjy.fsf@zoro.exoscale.ch/signed0
-rw-r--r--tags/fc/f4/9a89849f46e54f24a6951659a2af6331@uni-bielefeld.de/unread0
-rw-r--r--tags/fc/f4/CAP4xmP_J8mYEHofxyHEb+zfSp78XpcRed9+Oy9FJmbVTSfaPRg@mail.gmail.com/unread0
-rw-r--r--tags/fc/f4/DF7BC7FE-CA04-4E74-A462-0705866C40AB@goldelico.com/openmoko0
-rw-r--r--tags/fc/f4/E1nu649-00045C-76@respighi.debian.org/debian0
-rw-r--r--tags/fc/f4/E1nu649-00045C-76@respighi.debian.org/inbox0
-rw-r--r--tags/fc/f4/E1nu649-00045C-76@respighi.debian.org/killed0
-rw-r--r--tags/fc/f4/E1nu649-00045C-76@respighi.debian.org/unread0
-rw-r--r--tags/fc/f4/E1p0BYr-00AAsI-59@fasolo.debian.org/debian0
-rw-r--r--tags/fc/f4/E1p0BYr-00AAsI-59@fasolo.debian.org/inbox0
-rw-r--r--tags/fc/f4/E1p0BYr-00AAsI-59@fasolo.debian.org/killed0
-rw-r--r--tags/fc/f4/E1p0BYr-00AAsI-59@fasolo.debian.org/unread0
-rw-r--r--tags/fc/f4/alpine.DEB.2.21.1907261243160.5324@pfr2.frenkiel-hure.net/debian0
-rw-r--r--tags/fc/f4/alpine.DEB.2.21.1907261243160.5324@pfr2.frenkiel-hure.net/unread0
29 files changed, 0 insertions, 0 deletions