- Commit
- dc4a6c8cdaa1bd9b9d6baee0b992541f745cadc9
- Parent
- a5753eb866b6e990e81c5696a49644b14f399ccd
- Author
- John MacFarlane <jgm@berkeley.edu>
- Date
Fixed spec tests.
My personal build of CMark ✏️
Fixed spec tests.
1 file changed, 7 insertions, 19 deletions
Status | File Name | N° Changes | Insertions | Deletions |
Modified | spec.txt | 26 | 7 | 19 |
diff --git a/spec.txt b/spec.txt @@ -5503,22 +5503,6 @@ unless they are escaped: . . -[link] bar][ref] - -[ref]: /uri -. -<p><[link] bar][ref]</p> -. - -. -[link [bar][ref] - -[ref]: /uri -. -<p>[link [bar][ref]</p> -. - -. [link \[bar][ref] [ref]: /uri @@ -5551,7 +5535,7 @@ However, links may not contain other links, at any level of nesting. [ref]: /uri . -<p>[foo <a href="/uri">bar</a>][ref]</p> +<p>[foo <a href="/uri">bar</a>]<a href="/uri">ref</a></p> . . @@ -5559,10 +5543,14 @@ However, links may not contain other links, at any level of nesting. [ref]: /uri . -<p>[foo <em>bar <a href="/uri">baz</a></em>][ref]</p> +<p>[foo <em>bar <a href="/uri">baz</a></em>]<a href="/uri">ref</a></p> . -These cases illustrate the precedence of link text grouping over +(In the examples above, we have two [shortcut reference +links](#shortcut-reference-link) instead of one [full reference +link](#full-reference-link).) + +The following cases illustrate the precedence of link text grouping over emphasis grouping: .