aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2014-12-25 16:43:01 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2014-12-25 16:43:01 -0700
commit7e3a34e7ea8a734e15ca27b9b86f14ca727698de (patch)
tree4312f5d481b1416e22a46086d2a64526269c8ad0
parentf15108cca883005749b8bee3d020d50b9803b570 (diff)
Added test case for link-in-link-in-image (#252).
-rw-r--r--spec.txt6
1 files changed, 6 insertions, 0 deletions
diff --git a/spec.txt b/spec.txt
index cdf79ae..3c28d0d 100644
--- a/spec.txt
+++ b/spec.txt
@@ -5773,6 +5773,12 @@ However, links may not contain other links, at any level of nesting.
<p>[foo <em>[bar <a href="/uri">baz</a>](/uri)</em>](/uri)</p>
.
+.
+![[[foo](uri1)](uri2)](uri3)
+.
+<p><img src="uri3" alt="[foo](uri2)" /></p>
+.
+
These cases illustrate the precedence of link text grouping over
emphasis grouping: