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: