- Commit
- e3990d751b96dbaa91ca9cdb20749c9002402ff6
- Parent
- ec97a06d8a2b458258f9c694181bbfb14fb6a20a
- Author
- John MacFarlane <jgm@berkeley.edu>
- Date
Update spec.txt.
My personal build of CMark ✏️
Update spec.txt.
1 file changed, 8 insertions, 7 deletions
Status | File Name | N° Changes | Insertions | Deletions |
Modified | test/spec.txt | 15 | 8 | 7 |
diff --git a/test/spec.txt b/test/spec.txt @@ -7338,12 +7338,13 @@ A [link destination](@) consists of either closing `>` that contains no line breaks or unescaped `<` or `>` characters, or -- a nonempty sequence of characters that does not include - ASCII space or control characters, and includes parentheses - only if (a) they are backslash-escaped or (b) they are part of - a balanced pair of unescaped parentheses. (Implementations - may impose limits on parentheses nesting to avoid performance - issues, but at least three levels of nesting should be supported.) +- a nonempty sequence of characters that does not start with + `<`, does not include ASCII space or control characters, and + includes parentheses only if (a) they are backslash-escaped or + (b) they are part of a balanced pair of unescaped parentheses. + (Implementations may impose limits on parentheses nesting to + avoid performance issues, but at least three levels of nesting + should be supported.) A [link title](@) consists of either @@ -7446,7 +7447,7 @@ Pointy brackets that enclose links must be unescaped: ```````````````````````````````` example [link](<foo\>) . -<p><a href="%3Cfoo%3E">link</a></p> +<p>[link](<foo>)</p> ````````````````````````````````