From 1011cc82cdb0c1118cf4f2ab81628c4660d764af Mon Sep 17 00:00:00 2001 From: Benjamin Dumke-von der Ehe Date: Thu, 11 Jun 2015 09:43:15 +0200 Subject: Specify nested link definition behavior in prose The behavior was already specified in examples 426, 427, 428, 440, 441; this change merely describes it in the textual part. --- spec.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'spec.txt') diff --git a/spec.txt b/spec.txt index a4fe485..80827c9 100644 --- a/spec.txt +++ b/spec.txt @@ -5818,7 +5818,9 @@ A [link text](@link-text) consists of a sequence of zero or more inline elements enclosed by square brackets (`[` and `]`). The following rules apply: -- Links may not contain other links, at any level of nesting. +- Links may not contain other links, at any level of nesting. If + multiple otherwise valid link definitions appear nested inside each + other, the inner-most definition is used. - Brackets are allowed in the [link text] only if (a) they are backslash-escaped or (b) they appear as a matched pair of brackets, -- cgit v1.2.3