Lines Matching full:label
16 * `[[target|{{imgUrl}}]]`. The image-as-label form emits a single link
17 * handler call with a media descriptor array in the label slot, reusing
20 * render a link whose label is a media descriptor.
38 * - Mixed text + image in the label ([prefix  suffix](url))
39 * — matches DW's policy: Internallink only converts the label to a
51 // Label character set: forbids unescaped `[` / `]` so the outer
53 // bracket can appear inside the label (spec example 523). The same
60 // Image sub-pattern reused for both the label alternative in the main
61 // pattern and the image-as-label detector in handle(). No capture
63 // additional captures would renumber unpredictably. The label/url
82 // The label and url quantifiers are possessive: LABEL_CHAR never
94 // Detect image-as-label `[](target)`. Parallels
95 // Internallink's `^{{…}}$` check — when the label is exactly an
97 // treat the label as plain text.
99 $label = $this->parseImageDescriptor($m[1]);
102 // Plain text label can't contain `]`, so the first `](` is
103 // the label/target separator.
105 $label = Escape::unescapeBackslashes(substr($match, 1, $sep - 1));
112 [$call, $args] = Link::classify($targetUrl, $label);
138 * can treat it as a media label identically to `[[page|{{img}}]]`.